1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Tom Lane
2006-04-03 23:35:05 +00:00
parent c8c864c261
commit eaef111396
7 changed files with 89 additions and 64 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.365 2006/03/10 19:10:49 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.366 2006/04/03 23:35:02 tgl Exp $ -->
<chapter Id="runtime">
<title>Operating System Environment</title>
@ -1061,7 +1061,7 @@ set semsys:seminfo_semmsl=32
<row>
<entry><xref linkend="guc-wal-buffers"></>
<entry>8200 (assuming 8K <symbol>BLCKSZ</>)</entry>
<entry>8200 (assuming 8K <symbol>XLOG_BLCKSZ</>)</entry>
</row>
<row>