postgresql_16:7.2.4.5 Examples
PostgreSQL 16 > Reference > PostgreSQL Client Applications > dropdb > Examples
To destroy the database demo on the default database server: $ dropdb demo
To destroy the database demo using the server on host eden, port 5000, with verification and a peek at the underlying command: $ dropdb -p 5000 -h eden -i -e demo Database "demo" will be permanently deleted. Are you sure? (y/n) y DROP DATABASE demo;