Re: where is comments located? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: where is comments located?
Date
Msg-id 200303101659.h2AGxN006086@candle.pha.pa.us
Whole thread Raw
In response to where is comments located?  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
List pgsql-general
Comments are in pg_description.

---------------------------------------------------------------------------

Johnson, Shaunn wrote:
> Howdy:
>
> Running PostgreSQL 7.2.1 on RedHat Linux 7.2.
>
> What table is 'comments' referred to?  For instance,
> if you should put a comment to your table and / or
> columns, where can I query the comments for
> said table only?
>
>
> What I want to do, since I don't  seem to be able to drop tables
> based on a creation time / data parameter, is find out if a table
> has a comment on it; if not, drop that table.
>
> I imagine that the comments would be listed in some
> pg_* table name, but I am going over the documentation
> for system catalogs and I don't see a reference for
> that.
>
> Any suggestions?
>
> Thanks!
>
> -X

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: unlock Select for update
Next
From: "jose antonio leo"
Date:
Subject: Re: unlock Select for update