Re: How to list and describe tables in psql???

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: How to list and describe tables in psql???
Дата
Msg-id 52C4C942.5030401@gmail.com
обсуждение исходный текст
Ответ на How to list and describe tables in psql???  (peterlen <peteralen@earthlink.net>)
Список pgsql-general
On 01/01/2014 05:53 PM, peterlen wrote:
> 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?

Fresh from the docs:

http://www.postgresql.org/docs/9.3/interactive/app-psql.html

Search for:

Meta-Commands

There will be a copious amount of information available.

>
> 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.
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


В списке pgsql-general по дате отправления:

Предыдущее
От: peterlen
Дата:
Сообщение: How to list and describe tables in psql???
Следующее
От: Tom Lane
Дата:
Сообщение: Re: duplicate OID issue when using pg_upgrade to move from 8.4 to 9.2