postgresql/src/backend
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
..
access Clean up manipulations of hash indexes' hasho_flag field. 2017-04-14 17:04:25 -04:00
bootstrap Use one transaction while reading postgres.bki, not one per line. 2017-04-14 17:51:25 -04:00
catalog Add option to modify sync commit per subscription 2017-04-14 13:58:46 -04:00
commands Add option to modify sync commit per subscription 2017-04-14 13:58:46 -04:00
executor Remove trailing spaces in some output 2017-04-13 23:15:52 -04:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Support hashed aggregation with grouping sets. 2017-03-27 04:20:54 +01:00
libpq Improve the SASL authentication protocol. 2017-04-13 19:34:16 +03:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Mark finished Plan nodes with parallel_safe flags. 2017-04-12 15:13:34 -04:00
optimizer Mark finished Plan nodes with parallel_safe flags. 2017-04-12 15:13:34 -04:00
parser Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Remove symbol WIN32_ONLY_COMPILER 2017-04-11 15:22:21 +02:00
postmaster Report statistics in logical replication workers 2017-04-14 14:37:06 -04:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Report statistics in logical replication workers 2017-04-14 14:37:06 -04:00
rewrite Code review for c94e6942ce. 2017-04-12 11:35:11 -04:00
snowball Add ICU_FLAGS to one more place 2017-03-23 16:53:10 -04:00
statistics Fix printf format to use %zd when printing sizes 2017-04-07 19:27:00 -03:00
storage Move isolationtester's is-blocked query into C code for speed. 2017-04-10 10:26:54 -04:00
tcop Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
tsearch Full Text Search support for json and jsonb 2017-03-31 14:26:03 -04:00
utils Move bootstrap-time lookup of regproc OIDs into genbki.pl. 2017-04-13 12:07:57 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
common.mk ICU support 2017-03-23 15:28:48 -04:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00