Answers for "how to force delete a database in psql server"

SQL
14

postgres delete database

CREATE DATABASE testdb1;
DROP DATABASE testdb1;
Posted by: Guest on June-19-2020
0

how to hard drop database in postgres

It means another user is accessing the database. Simply restart PostgreSQL. This command will do the trick

root@kalilinux:~#sudo service postgresql restart
Then try dropping the database:

postgres=# drop database test_database;
This will do the trick.
Posted by: Guest on April-14-2021

Code answers related to "how to force delete a database in psql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language