Re: Comments on columns in the pg_catalog tables/views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Comments on columns in the pg_catalog tables/views
Date: 2005-10-13 00:39:18
Message-ID: 15806.1129163958@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter <david(at)fetter(dot)org> 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 somebody is doing \dt+ (or equivalent
> in other tools than psql) on a pg_catalog table or view, they need to
> see details and are at most slightly concerned about the formatting.

If they need to see more than the most brief description, they should be
consulting the SGML documentation; that's what it's there for. Using
that same text for \dt+ comments will just encourage people to mis-optimize
the SGML text for the wrong purpose. We already have short comments in
the C code; why not use those?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Brown 2005-10-13 00:46:17 Re: GRANT/roles problem: grant is shown as from login role
Previous Message David Fetter 2005-10-13 00:33:01 Re: Comments on columns in the pg_catalog tables/views