From dd35c22033ba2699b71be25f746951af2275fb35 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 20 Mar 2020 17:22:15 +0900 Subject: [PATCH] doc: add note about pg_upgrade and standbys --- doc/upgrading-repmgr.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/upgrading-repmgr.xml b/doc/upgrading-repmgr.xml index b1939267..0e07a07b 100644 --- a/doc/upgrading-repmgr.xml +++ b/doc/upgrading-repmgr.xml @@ -269,6 +269,29 @@ ALTER EXTENSION repmgr UPDATE + + Upgrading standbys with pg_upgrade and rsync + + If you are intending to upgrade a standby using the rsync method described + in the pg_upgrade documentation, + you must ensure the standby's replication configuration is present and correct + before starting the standby. + + + Use repmgr standby clone --recovery-conf-only to generate + the correct replication configuration. + + + + + If upgrading from PostgreSQL 11 or earlier, be sure to delete recovery.conf, if present, + otherwise PostgreSQL will refuse to start. + + + + + +