Re: [GENERAL] selecting column comment

2006-05-01 Thread codeWarrior
FWIW: From the system catalogs: SELECT PC.relname, PD.description FROM pg_catalog.pg_description PD, pg_catalog.pg_class PC WHERE PD.objoid = PC.oid AND PD.objsubid = 0 "Ari Kahn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a comments on tables in my database. > > e.g.

Re: [GENERAL] selecting column comment

2006-04-27 Thread codeWarrior
>From the system catalogs: SELECT PC.relname, PD.description FROM pg_catalog.pg_description PD, pg_catalog.pg_class PC WHERE PD.objoid = PC.oid AND PD.objsubid = 0 "Ari Kahn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a comments on tables in my database. > > e.g. COMMEN

[GENERAL] selecting column comment

2006-04-27 Thread Ari Kahn
I have a comments on tables in my database. e.g. COMMENT ON TABLE my_schema.my_table IS 'Employee Information'; I know you can get comments using \d+ Is there a way to select comments? Reason: I do a lot of perl interfaces. I find escape commands do not work using DBI. Thanks, Ari --