Re: How to retrieve a comment/description from a table

Поиск
Список
Период
Сортировка
От Darren Ferguson
Тема Re: How to retrieve a comment/description from a table
Дата
Msg-id Pine.LNX.4.44.0208231027580.11124-100000@thread.crystalballinc.com
обсуждение исходный текст
Ответ на How to retrieve a comment/description from a table  (Marcus Claesson <marcus.claesson@angiogenetics.se>)
Список pgsql-general
\d+ mytable will give you the comments for it

For system tables just do

\d+ pg_** substitute ** for system table name

HTH
On Fri, 23 Aug 2002, Marcus Claesson wrote:

> Hello!
> This psql command is very straight forward and promising:
> COMMENT ON mytable IS 'This is my table.';
>
> But how can I retrieve the particular comment from that table again?
> Using \d+ gives you all the tables with their comments. I want a special
> one.
>
> And if that is not possible, can the \d+ results be obtained from a
> system table or so?
>
> Thanks,
> Marcus
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
Darren Ferguson


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

Предыдущее
От: Marcus Claesson
Дата:
Сообщение: How to retrieve a comment/description from a table
Следующее
От: Ryan Mahoney
Дата:
Сообщение: integer[] Update Questions