From 8c373488afcffc11b7b9e167f40f3aa9df1af591 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 21 Sep 2017 15:11:51 +0900 Subject: [PATCH] "standby switchover": add note about shutdown mode in 9.3/9.4 --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 81a08036..3527b654 100644 --- a/README.md +++ b/README.md @@ -1225,11 +1225,10 @@ and the cluster status will now look like this: ### Caveats -- You must ensure that following a server start using `pg_ctl`, log output - is not send to STDERR (the default behaviour). If logging is not configured, - we recommend setting `logging_collector=on` in `postgresql.conf` and - providing an explicit `-l/--log` setting in `repmgr.conf`'s `pg_ctl_options` - parameter. +- If using PostgreSQL 9.3 or 9.4, you should ensure that the shutdown command + is configured to use PostgreSQL's `fast` shutdown mode (the default in 9.5 + and later). If relying on `pg_ctl` to perform database server operations, + you should include `-m fast` in `pg_ctl_options` in `repmgr.conf`. - `pg_rewind` *requires* that either `wal_log_hints` is enabled, or that data checksums were enabled when the cluster was initialized. See the `pg_rewind` documentation for details: