I am unable to drop database/table. Here are the sequence of commands I am running.
psql
\\l
after seeing my database name(XXX),
DROP DATABASE XXXX
\\l
XXX is still present.
I tried to restart the psql and also rebooted my laptop.I must be doing something wrong but it has consumed more than 2 hours. Any help?
So I have edited my question but now I feel i did for worse.Anyways, the solution to my problem was already present in stackoverflow. Sorry for duplication
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.