drop database postgres froce code example
Example 1: postgres delete database
CREATE DATABASE testdb1;
DROP DATABASE testdb1;
Example 2: drop database using terminal postgres
sql -U -c "drop database protodb"
CREATE DATABASE testdb1;
DROP DATABASE testdb1;
sql -U -c "drop database protodb"