Thread: Query DDL Comments?

Query DDL Comments?

From
P
Date:
Is there a way to query the DDL comments for tables or databases?

Re: Query DDL Comments?

From
Tom Lane
Date:
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