Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-15 Thread David Fetter
On Thu, Oct 13, 2005 at 08:59:51AM +, Andreas Pflug wrote: > David Fetter wrote: > > >>Dept of second thoughts: actually, perhaps see if you can generate > >>the pg_description entries from the C comments in the > >>include/catalog header files. There's already a strong motivation > >>to hold

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-13 Thread Andreas Pflug
David Fetter wrote: Dept of second thoughts: actually, perhaps see if you can generate the pg_description entries from the C comments in the include/catalog header files. There's already a strong motivation to hold those to shorter-than-a-line length, whereas the column descriptions in catalogs

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-12 Thread Christopher Kings-Lynne
Yes for the love of god do it :D David Fetter wrote: Folks, Before I dive into this, is there some reason why the pg_catalog.* tables/views should not have comments that match the descriptions in the docs? I can see where this could cause some maintenance issues, and those probably need to be

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-12 Thread Tom Lane
David Fetter <[EMAIL PROTECTED]> writes: > On Wed, Oct 12, 2005 at 07:11:12PM -0400, Tom Lane wrote: >> Dept of second thoughts: actually, perhaps see if you can generate >> the pg_description entries from the C comments in the >> include/catalog header files. > My thought is that by the time some

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-12 Thread David Fetter
On Wed, Oct 12, 2005 at 07:11:12PM -0400, Tom Lane wrote: > I wrote: > > David Fetter <[EMAIL PROTECTED]> writes: > >> Before I dive into this, is there some reason why the > >> pg_catalog.* tables/views should not have comments that match the > >> descriptions in the docs? I can see where this co

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-12 Thread Tom Lane
I wrote: > David Fetter <[EMAIL PROTECTED]> writes: >> Before I dive into this, is there some reason why the pg_catalog.* >> tables/views should not have comments that match the descriptions in >> the docs? I can see where this could cause some maintenance issues, > Yeah. If you can figure a way

Re: [HACKERS] Comments on columns in the pg_catalog tables/views

2005-10-12 Thread Tom Lane
David Fetter <[EMAIL PROTECTED]> writes: > Before I dive into this, is there some reason why the pg_catalog.* > tables/views should not have comments that match the descriptions in > the docs? I can see where this could cause some maintenance issues, Yeah. If you can figure a way to auto-generat