Muhammad Imran
Muhammad Imran

Reputation: 1

I can't drop a database in PostgreSQL 11

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?

Upvotes: -1

Views: 87

Answers (1)

jens
jens

Reputation: 2145

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

Upvotes: 1

Related Questions