postgresql/src/backend/bootstrap
Tom Lane 85a0781334 Use one transaction while reading postgres.bki, not one per line.
AFAICT, the only actual benefit of closing a bootstrap transaction
is to reclaim transient memory.  We can do that a lot more cheaply
by just doing a MemoryContextReset on a suitable context.  This
gets the runtime of the "bootstrap" phase of initdb down to the
point where, at least by eyeball, it's quite negligible compared
to the rest of the phases.  Per discussion with Andres Freund.

Discussion: https://postgr.es/m/9244.1492106743@sss.pgh.pa.us
2017-04-14 17:51:25 -04:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bootparse.y Use one transaction while reading postgres.bki, not one per line. 2017-04-14 17:51:25 -04:00
bootscanner.l Remove dead code in bootstrap 2017-01-17 16:54:40 -03:00
bootstrap.c Use one transaction while reading postgres.bki, not one per line. 2017-04-14 17:51:25 -04:00
Makefile Refactor flex and bison make rules 2012-10-11 06:57:04 -04:00