]> granicus.if.org Git - postgresql/commit
Add GUC to enable WAL-logging of hint bits, even with checksums disabled.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Dec 2013 14:26:14 +0000 (16:26 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 13 Dec 2013 14:26:14 +0000 (16:26 +0200)
commit50e547096c4858a68abf09894667a542cc418315
tree4d1005e1b0d33cd43eb9ff872f5f92275938b20c
parent56afe8509ec3057e06ebe244e51272511f05decb
Add GUC to enable WAL-logging of hint bits, even with checksums disabled.

WAL records of hint bit updates is useful to tools that want to examine
which pages have been modified. In particular, this is required to make
the pg_rewind tool safe (without checksums).

This can also be used to test how much extra WAL-logging would occur if
you enabled checksums, without actually enabling them (which you can't
currently do without re-initdb'ing).

Sawada Masahiko, docs by Samrat Revagade. Reviewed by Dilip Kumar, with
further changes by me.
13 files changed:
doc/src/sgml/config.sgml
src/backend/access/heap/heapam.c
src/backend/access/heap/visibilitymap.c
src/backend/access/transam/xlog.c
src/backend/storage/buffer/bufmgr.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/include/access/xlog.h
src/include/access/xlog_internal.h
src/include/catalog/catversion.h
src/include/catalog/pg_control.h