| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Michael Davis <michael(dot)davis(at)prevuenet(dot)com> |
| Cc: | PostgreSQL-development <hackers(at)postgreSQL(dot)org> |
| Subject: | Re: [GENERAL] Comments on columns? |
| Date: | 1999-05-09 20:09:02 |
| Message-ID: | 199905092009.QAA25649@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
> I created functions to add comments based on the table and column name
> rather than using the oids. I include these calls as part of my table
> creation scripts. I assume that by initdb you mean when the database is
> created than when Postgres is started. If the oids can change every time
> you start Posgtres, this would be a problem.
>
> I can upload my functions for integrating into Postgres as a standard way to
> add comments (if requested). Maybe we should consider attaching
> descriptions to a table and or column name rather than an oid?
I like to keep using the oid because it allows comments on functions and
operators, which would make a 'name'-based system work badly.
I plan to add system tablename/column descriptions by doing some kind of
name/oid mapping function for this. This will happen after 6.5.
I will also try to add some standard way of adding descriptions.
--
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Bitmead | 1999-05-10 00:13:07 | Re: [GENERAL] Empty Date Field |
| Previous Message | Oliver Elphick | 1999-05-09 18:38:07 | Re: [GENERAL] Empty Date Field |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1999-05-09 20:10:52 | Re: [HACKERS] libpq and SPI |
| Previous Message | Tom Lane | 1999-05-09 17:49:05 | Re: [HACKERS] Problem with complex query |