When I do \l
I see myexampledb
, then I do dropdb 'myexampledb' in the terminal, I got no error, I do \l
again, the db isn't deleted, what's wrong?
I did this exactly:
- I do
psql
- I got error of
psql: FATAL: database "steven" does not exist
- I do
psql -d postgres
- I do
dropdb 'postgres'
- I do
\ls
- the postgres db isn't removed