From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add GUC to enable WAL-logging of hint bits, even with checksums |
Date: | 2013-12-13 14:26:40 |
Message-ID: | E1VrThQ-00062a-Rw@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/50e547096c4858a68abf09894667a542cc418315
Modified Files
--------------
doc/src/sgml/config.sgml | 26 +++++++++++++++++++++++++
src/backend/access/heap/heapam.c | 2 +-
src/backend/access/heap/visibilitymap.c | 6 +++---
src/backend/access/transam/xlog.c | 6 ++++++
src/backend/storage/buffer/bufmgr.c | 7 +++----
src/backend/utils/misc/guc.c | 11 +++++++++++
src/backend/utils/misc/postgresql.conf.sample | 1 +
src/bin/pg_controldata/pg_controldata.c | 2 ++
src/bin/pg_resetxlog/pg_resetxlog.c | 2 ++
src/include/access/xlog.h | 12 ++++++++++++
src/include/access/xlog_internal.h | 1 +
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_control.h | 1 +
13 files changed, 70 insertions(+), 9 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-12-13 16:39:20 | Re: pgsql: Fix a couple of bugs in MultiXactId freezing |
Previous Message | Magnus Hagander | 2013-12-13 14:02:39 | pgsql: Fix double "the" in the documentation |