On 2017-04-13 12:13:30 -0400, Tom Lane wrote: > Andreas Karlsson <andr...@proxel.se> writes: > > Here is my proof of concept patch. It does basically the same thing as > > Andres's patch except that it handles quoted values a bit better and > > does not try to support anything other than the regproc type. > > > The patch speeds up initdb without fsync from 0.80 seconds to 0.55 > > seconds, which is a nice speedup, while adding a negligible amount of > > extra work on compilation. > > I've pushed this with some mostly-cosmetic adjustments:
Cool. I wonder if we also should remove AtEOXact_CatCache()'s cross-checks - the resowner replacement has been in place for a while, and seems robust enough. They're now the biggest user of time. - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers