Re: Comments on system tables and columns
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Thom Brown <thom@linux.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-05-05T18:38:25Z
Lists: pgsql-hackers
Attachments
- /pgpatches/sysviews.diff (text/x-diff) patch
- (unnamed) (text/plain)
Alvaro Herrera wrote: > Excerpts from Thom Brown's message of lun mar 28 08:14:07 -0300 2011: > > Hi, > > > > I notice that none of the system tables or columns thereof bear any > > comments. Is this intentional, or an oversight? I would have thought > > comments would be useful since the column names aren't exactly always > > self-explanatory. > > Bruce has been working on changes to have catalog objects (tables, views > and columns) contain comments, but he deferred it to 9.2 because it > involved nontrivial pieces of infrastructure (mainly to avoid > duplication with the SGML catalog documentation). Attached are diffs that change the Makefile and initdb, and a perl script to pull the system view comments out of the SGML docs. I need to do more work to pull stuff for the system tables. This does work in testing. I will work on this more for 9.2. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +