This page in other versions: Unsupported versions: 6.3
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
Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group