Question : postgres remove database
Answered by : augusto-vicente
DROP DATABASE IF EXISTS database_name;
Source : https://www.mysqltutorial.org/mysql-drop-database/#:~:text=DROP%20DATABASE%20%5BIF%20EXISTS%5D%20database_name,use%20the%20IF%20EXISTS%20option. | Last Update : Fri, 11 Sep 20
Question : drop postgresql database from terminal
Answered by : breakable-baboon-md4fm5tl6l6b
dropdb 'database name'
Source : https://stackoverflow.com/questions/7073773/postgresql-drop-postgresql-database-through-command-line | Last Update : Sun, 25 Dec 22
Question : drop database using terminal postgres
Answered by : restu-wahyu-saputra
sql -U <user> -c "drop database protodb"
Source : | Last Update : Wed, 11 Nov 20