diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index d44431803b0..f8d963019ef 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -332,7 +332,7 @@ NET STOP postgresql-&majorversion;
Also, if upgrading standby servers, change wal_level>
to replica> in the postgresql.conf> file on
- the new master cluster.
+ the new primary cluster.
@@ -425,8 +425,8 @@ pg_upgrade.exe
linkend="streaming-replication">) or Log-Shipping (see ) standby servers, follow these steps to
upgrade them. You will not be running pg_upgrade>
- on the standby servers, but rather rsync>. Do not
- start any servers yet.
+ on the standby servers, but rather rsync> on the
+ primary. Do not start any servers yet.
@@ -455,7 +455,7 @@ pg_upgrade.exe
Install the same custom shared object files on the new standbys
- that you installed in the new master cluster.
+ that you installed in the new primary cluster.
@@ -482,25 +482,33 @@ pg_upgrade.exe
Run rsync>
- From a directory that is above the old and new database cluster
- directories, run this for each standby:
+ From a directory on the primary server that is above the old and
+ new database cluster directories, run this on the
+ primary> for each standby server:
rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_dir
where
+
+
+ What rsync> does is to copy files from the
+ primary to the standby, and, if pg_upgrade>'s
+
--link> mode was used, link files from the old to
+ new clusters on the standby. It links the same files that
+ pg_upgrade> linked in the primary old and new
+ clusters. (Of course, linking speeds up rsync>.)
+ Unfortunately, rsync> needlessly copies files
+ associated with temporary and unlogged tables because these files
+ don't normally exist on standby servers.
@@ -518,7 +526,7 @@ rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_d
Configure the servers for log shipping. (You do not need to run
pg_start_backup()> and pg_stop_backup()>
or take a file system backup as the standbys are still synchronized
- with the master.)
+ with the primary.)