From: Tom Lane <tgl@sss.pgh.pa.us>
To: P <user2037@live.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Query DDL Comments?
Date: Tue, 23 Feb 2010 16:11:18 -0500
Message-ID: <16188.1266959478@sss.pgh.pa.us> (raw)
In-Reply-To: <BLU0-SMTP53AD61F744C69084D79790B4420@phx.gbl>
References: <BLU0-SMTP53AD61F744C69084D79790B4420@phx.gbl>
P <user2037@live.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, user2037@live.com
Subject: Re: Query DDL Comments?
In-Reply-To: <16188.1266959478@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox