Re: Getting comments from schema using SQL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Getting comments from schema using SQL
Date
Msg-id 22622.1170121163@sss.pgh.pa.us
Whole thread Raw
In response to Re: Getting comments from schema using SQL  (google@jessehersch.fastmail.fm)
List pgsql-hackers
google@jessehersch.fastmail.fm writes:
> On Jan 29, 2:40 pm, "Timasmith" <timasm...@hotmail.com> wrote:
>> What query can I run to get the comments on my table columns using
>> SQL?

> check out the pg_description system catalog:
> http://www.postgresql.org/docs/8.2/static/catalog-pg-description.html

Also see obj_description() and friends, which are basically wrappers
for queries on that catalog:
http://www.postgresql.org/docs/8.2/static/functions-info.html#FUNCTIONS-INFO-COMMENT-TABLE
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim Buttafuoco"
Date:
Subject: Re: How to configure Postgres to make it not to use (load) crypto libraries.
Next
From: Andrew Dunstan
Date:
Subject: Re: Modifying and solidifying contrib