Search Postgresql Archives

How to list and describe tables in psql???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using PostgreSQL 9.1 and have boon looking for psql commands to list all
tables in the current database as well as how to "describe" a given table. 
I have come across some info on the web (older mostly) that lists commands
like \d, \dt, or \d+ <tablename> but I get results like "no relations found"
or "column reltriggers does not exist".  Not sure what is going on.

Can someone enlighten me on the right commands to use?

Thanks - Peter



--
View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-list-and-describe-tables-in-psql-tp5785006.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux