I can't drop a database in PostgreSQL 11

93 Views Asked by At

I have 5 databases which are shown below.

enter image description here

I am trying to drop test database by using "drop database test". But when i check list of databases than test database also shown in that list.

enter image description here

What should I do now? How i can resolve this issue?

1

There are 1 best solutions below

2
On

Yeah you are missing the semi-colon. When psql changes from = to - in the prompt, it means you haven’t finished the query.