Re: How to retrieve a comment/description from a table - Mailing list pgsql-general

From Darren Ferguson
Subject Re: How to retrieve a comment/description from a table
Date
Msg-id Pine.LNX.4.44.0208231027580.11124-100000@thread.crystalballinc.com
Whole thread Raw
In response to How to retrieve a comment/description from a table  (Marcus Claesson <marcus.claesson@angiogenetics.se>)
List 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 by date:

Previous
From: Marcus Claesson
Date:
Subject: How to retrieve a comment/description from a table
Next
From: Ryan Mahoney
Date:
Subject: integer[] Update Questions