PostgreSQL Administrator's Guide
PrevChapter 9. Managing a DatabaseNext

Destroying a Database

If you are the database administrator for the database mydb, you can destroy it using the following UNIX command:

% destroydb mydb
This action physically removes all of the UNIX files associated with the database and cannot be undone, so this should only be done with a great deal of forethought.


PrevHomeNext
Accessing a DatabaseUpDatabase Recovery