From 703c7a3c54547bfee84bdab77cf435a2becfb1dd Mon Sep 17 00:00:00 2001
From: Amit Kapila
Date: Tue, 13 Feb 2024 09:45:01 +0530
Subject: Doc: Improve upgrade for streaming replication section.
Currently the documentation of upgrade for streaming replication section
says that logical replication slots will be copied, but the logical
replication slots are copied only if the old primary is version 17.0 or
later.
Author: Shubham Khanna
Discussion: https://postgr.es/m/CAHv8RjJHCw0jpUo9PZxjcguzGt3j2W1_NH=QuREoN0nYiVdVeA@mail.gmail.com
---
doc/src/sgml/ref/pgupgrade.sgml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index ae6d3c49a69..68ec68f47b6 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -767,9 +767,12 @@ rsync --archive --delete --hard-links --size-only --no-inc-recursive /vol1/pg_tb
Configure the servers for log shipping. (You do not need to run
pg_backup_start() and pg_backup_stop()
or take a file system backup as the standbys are still synchronized
- with the primary.) Only logical slots on the primary are copied to the
- new standby, but other slots on the old standby are not copied so must
- be recreated manually.
+ with the primary.) If the old primary is prior to version 17.0, then no
+ slots on the primary are copied to the new standby, so all the slots on
+ the old standby must be recreated manually. If the old primary is
+ version 17.0 or later, then only logical slots on the primary are copied
+ to the new standby, but other slots on the old standby are not copied,
+ so must be recreated manually.
--
cgit v1.2.3