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