]> granicus.if.org Git - postgresql/commit
Define a separately configurable XLOG_BLCKSZ symbol for the page size
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Apr 2006 23:35:05 +0000 (23:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 3 Apr 2006 23:35:05 +0000 (23:35 +0000)
commiteaef111396ef7e70c88979c7a82f6a8f918d9651
tree4ed22c6becb93bacba5e0700637a74d39928cbd9
parentc8c864c26148bc8b8f48c228152e657102f7cb2b
Define a separately configurable XLOG_BLCKSZ symbol for the page size
used within WAL files.  Historically this was the same as the data file
BLCKSZ, but there's no necessary connection, and it's possible that
performance gains might ensue from reducing XLOG_BLCKSZ.  In any case
distinguishing two symbols should improve code clarity.  This commit
does not actually change the page size, only provide the infrastructure
to make it possible to do so.  initdb forced because of addition of a
field to pg_control.
Mark Wong, with some help from Simon Riggs and Tom Lane.
doc/src/sgml/runtime.sgml
src/backend/access/transam/xlog.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/include/access/xlog_internal.h
src/include/catalog/pg_control.h
src/include/pg_config_manual.h