postgresql delete a database code example
Example 1: postgres delete database
DROP DATABASE db_name;
Example 2: postgres remove database
DROP DATABASE IF EXISTS database_name;
DROP DATABASE db_name;
DROP DATABASE IF EXISTS database_name;