3rd October 2019: PostgreSQL 12 Released!
Unsupported versions: 6.3
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the supported versions listed above instead.
PostgreSQL
Prev Chapter 7. Managing a Database Next

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.
Prev Home Next
Accessing a Database Up Data Types