From e9cb61ae7a506ff685c626ff626b3fe1be4e9ecd Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 29 Nov 2017 11:22:12 +0900 Subject: [PATCH] docs: add additional note about setting "wal_log_hints" Useful to reference this when discussing PostgreSQL configuration in general. --- doc/quickstart.sgml | 15 ++++++++++----- doc/repmgr-node-rejoin.sgml | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/quickstart.sgml b/doc/quickstart.sgml index b64d06f0..6d2adb4f 100644 --- a/doc/quickstart.sgml +++ b/doc/quickstart.sgml @@ -103,11 +103,11 @@ # ignores archiving. Use something more sensible. archive_command = '/bin/true' - # If you have configured `pg_basebackup_options` - # in `repmgr.conf` to include the setting `--xlog-method=fetch` (from - # PostgreSQL 10 `--wal-method=fetch`), *and* you have not set - # `restore_command` in `repmgr.conf`to fetch WAL files from another - # source such as Barman, you'll need to set `wal_keep_segments` to a + # If you have configured "pg_basebackup_options" + # in "repmgr.conf" to include the setting "--xlog-method=fetch" (from + # PostgreSQL 10 "--wal-method=fetch"), *and* you have not set + # "restore_command" in "repmgr.conf"to fetch WAL files from another + # source such as Barman, you'll need to set "wal_keep_segments" to a # high enough value to ensure that all WAL files generated while # the standby is being cloned are retained until the standby starts up. # @@ -121,6 +121,11 @@ include 'postgresql.replication.conf. + + Additionally, if you are intending to use pg_rewind, + and the cluster was not initialised using data checksums, you may want to consider enabling + wal_log_hints; for more details see . + diff --git a/doc/repmgr-node-rejoin.sgml b/doc/repmgr-node-rejoin.sgml index 084f8b44..d81531fe 100644 --- a/doc/repmgr-node-rejoin.sgml +++ b/doc/repmgr-node-rejoin.sgml @@ -69,7 +69,7 @@ - + Using <command>pg_rewind</command> repmgr node rejoin can optionally use pg_rewind to re-integrate a