postgres remove database from bash code example
Example 1: postgres remove database
DROP DATABASE IF EXISTS database_name;
Example 2: drop database using terminal postgres
sql -U -c "drop database protodb"
DROP DATABASE IF EXISTS database_name;
sql -U -c "drop database protodb"