diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
new file mode 100644
index d444318..f8d9630
*** a/doc/src/sgml/ref/pgupgrade.sgml
--- b/doc/src/sgml/ref/pgupgrade.sgml
*************** NET STOP postgresql-&majorversion;
*** 332,338 ****
Also, if upgrading standby servers, change wal_level>
to replica> in the postgresql.conf> file on
! the new master cluster.
--- 332,338 ----
Also, if upgrading standby servers, change wal_level>
to replica> in the postgresql.conf> file on
! the new primary cluster.
*************** pg_upgrade.exe
*** 425,432 ****
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.
--- 425,432 ----
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> on the
! primary. Do not start any servers yet.
*************** pg_upgrade.exe
*** 455,461 ****
Install the same custom shared object files on the new standbys
! that you installed in the new master cluster.
--- 455,461 ----
Install the same custom shared object files on the new standbys
! that you installed in the new primary cluster.
*************** pg_upgrade.exe
*** 482,506 ****
Run rsync>
! From a directory that is above the old and new database cluster
! directories, run this for each standby:
rsync --archive --delete --hard-links --size-only old_pgdata new_pgdata remote_dir
where
--- 482,514 ----
Run rsync>
! 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
old_pgdata> and
new_pgdata> are relative
! to the current directory on the primary, and
remote_dir>
! is above> the old and new cluster directories on
! the standby. The old and new relative cluster paths
! must match on the primary and standby server. Consult the
rsync> manual page for details on specifying the
remote directory, e.g. standbyhost:/opt/PostgreSQL/>.
!
!
!
! 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.
*************** rsync --archive --delete --hard-links --
*** 518,524 ****
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.)
--- 526,532 ----
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 primary.)