Text Size: Normal / Large

10.3. Destroying a Database

If you are the owner of the database mydb, you can destroy it using the SQL command

=> DROP DATABASE mydb;

or the Unix shell script

% dropdb 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.

Privacy Policy | Project hosted by our server sponsors. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group