如何从postgresql中删除数据库

时间:2014-09-25 12:06:08

标签: postgresql

我发出了删除db的命令,但它仍然存在。如何删除任何正确的方法?

postgres=# DROP DATABASE tamildb
postgres-# \list
                             List of databases
   Name    |  Owner   | Encoding | Collate | Ctype |   Access privileges   
-----------+----------+----------+---------+-------+-----------------------
 mydb      | postgres | UTF8     | en_IN   | en_IN | 
 postgres  | postgres | UTF8     | en_IN   | en_IN | 
 tamildb   | ri       | UTF8     | en_IN   | en_IN | 
 template0 | postgres | UTF8     | en_IN   | en_IN | =c/postgres          +
           |          |          |         |       | postgres=CTc/postgres
 template1 | postgres | UTF8     | en_IN   | en_IN | =c/postgres          +
           |          |          |         |       | postgres=CTc/postgres
(5 rows)

0 个答案:

没有答案
相关问题