This page in other versions: Unsupported versions: 6.3
Prev Chapter 24. 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 Database Recovery
Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group