天天看點

postgresql的使用

進入資料庫:

$sudo -u postgres psql

檢視所有的資料庫

 $\l

切換資料庫

$\c

列資料表

$\dt

資料表結構:

$\d tblname

http://blog.csdn.net/nameoccupied/article/details/9145345

http://blog.51yip.com/pgsql/1525.html

http://my.oschina.net/quanpower/blog?disp=2&p=1&catalog=346842