Re: pgstat documentation tables
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>, Greg Smith <greg@2ndquadrant.com>, Alvaro Herrera <alvherre@commandprompt.com>, Bruce Momjian <bruce@momjian.us>
Date: 2012-02-08T06:17:23Z
Lists: pgsql-hackers
On Feb 8, 2012 5:32 AM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote: > > Bruce Momjian <bruce@momjian.us> writes: > > How do people feel about pulling text out of the SGML docs and loading > > it into the database as table and column comments? > > I'm not thrilled by that proposal. The length limits on comments are > very much shorter than what is sensible to use in catalogs.sgml (at > least if you want the comments to look passable in \d displays). And > I don't want people trying to serve two different use-cases when they > write those. Yes, I'd rather see longer than shorter descriptions in the docs, and this would turn that backwards... > > Perhaps it'd work to pull column comments from the C header files > --- any same-line comment in catalog/pg_*.h is probably short enough to > serve this purpose usefully. That could work a lot better.. /Magnus