On 2016-11-13 11:23:09 -0500, Tom Lane wrote: > Andres Freund <and...@anarazel.de> writes: > > On 2016-11-13 00:20:22 -0500, Peter Eisentraut wrote: > >> Then we're not very far away from just using CREATE FUNCTION SQL commands. > > > Well, those do a lot of syscache lookups, which in turn do lookups for > > functions... > > We can't use CREATE FUNCTION as the representation in the .bki file, > because of the circularities involved (you can't fill pg_proc before > pg_type nor vice versa). But I think Peter was suggesting that the > input to the bki-generator script could look like CREATE commands. > That's true, but I fear it would greatly increase the complexity > of the script for not much benefit.
It'd also be very pg_proc specific, which isn't where I think this should go.. Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers