delete database in postgres code example
Example 1: postgres delete database
CREATE DATABASE testdb1;
DROP DATABASE testdb1;
Example 2: postgres delete database
DROP DATABASE db_name;
Example 3: delete db postgres
dropdb 'database name'
Example 4: drop database using terminal postgres
sql -U -c "drop database protodb"