Re: [GENERAL] Comments on columns?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: michael(dot)davis(at)prevuenet(dot)com (Michael Davis)
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Comments on columns?
Date: 1999-03-12 14:42:44
Message-ID: 199903121442.JAA13685@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Are there any plans to have psql support comments on columns? For example,
> I would like to be able to add a comment on a column of a table and have \dd
> display the table comment in addition to any/all column comments.

Find the oid of the column in pg_attribute, and insert into pg_description.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Davis 1999-03-12 17:36:08 RE: [GENERAL] Comments on columns?
Previous Message Michael Davis 1999-03-12 06:42:15 Comments on columns?