Re: where is comments located?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: where is comments located?
Date: 2003-03-10 16:59:23
Message-ID: 200303101659.h2AGxN006086@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message jose antonio leo 2003-03-10 17:15:19 Re: unlock Select for update
Previous Message Bruce Momjian 2003-03-10 16:56:17 Re: unlock Select for update