Re: Query DDL Comments?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: P <user2037(at)live(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Query DDL Comments?
Date: 2010-02-23 21:11:18
Message-ID: 16188.1266959478@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

P <user2037(at)live(dot)com> writes:
> Is there a way to query the DDL comments for tables or databases?

Well, there's psql's \dd, or you could use obj_description and related
functions, or you could look directly at the pg_description and
pg_shdescription catalogs.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Net Tree Inc. 2010-02-24 01:56:35 Re: how do I do dump and restore without bugging with constraint?
Previous Message Bruce Momjian 2010-02-23 21:06:58 Re: Sharing /etc/passwd with PostgreSQL