How to drop (delete) postgresql database ?

in terminal:

sudo -i -u postgres

psql

drop database dbname;

Advertisements