Re: autogenerating headers & bki stuff - Mailing list pgsql-hackers

From Tom Lane
Subject Re: autogenerating headers & bki stuff
Date
Msg-id 16197.1248559940@sss.pgh.pa.us
Whole thread Raw
In response to Re: autogenerating headers & bki stuff  (Greg Stark <gsstark@mit.edu>)
Responses Re: autogenerating headers & bki stuff
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Move a lot of those DATA lines to SQL initdb scripts. Virtually all of
> pg_proc, pg_operator, pg_opclass, pg_opfamily, pg_cast, etc can be
> initialized using SQL. Hardly any of the records in there are needed
> for bootstrapping.

It's easy to make that claim, much less easy to actually do it.

The other issue is that there will be some fraction of the entries that
unavoidably *are* needed before you can use SQL to insert the rest.
What will we do with those?  Having two different representations for
essentially the same kind of data isn't much fun.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch for 8.5, transformationHook
Next
From: Tom Lane
Date:
Subject: Re: autogenerating headers & bki stuff