Re: Planned change in initdb-time OID allocation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Mascari <mascarm(at)mascari(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Planned change in initdb-time OID allocation
Date: 2001-08-07 03:24:46
Message-ID: 28031.997154686@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mike Mascari <mascarm(at)mascari(dot)com> writes:
> I was wondering in the past if it would simply be better to have an
> .SQL script which is submitted to the template1 database at
> post-initdb time with COMMENT ON statements to document built-in
> types, functions, system relations, etc.

The nice thing about the way it's done now is that the descriptions
sit right next to the defining commands in the catalog/*.h files.
Having to maintain a separate script file doesn't seem like a win.
Almost certainly, the descriptions would be poorly maintained ---
ye olde out-of-sight, out-of-mind problem.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2001-08-07 04:03:44 To be 7.1.3 or not to be 7.1.3?
Previous Message Bruce Momjian 2001-08-07 02:51:10 Re: Planned change in initdb-time OID allocation