Skip to content

Commit 8cba2ef

Browse files
author
hackorum
committed
Apply 0001-documentation-log-shipping-standby-upgrade.patch
1 parent b597835 commit 8cba2ef

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ NET STOP postgresql-&majorversion;
526526
</para>
527527
</step>
528528

529-
<step>
529+
<step id="pgupgrade-step-prepare-standby-server-upgrades">
530530
<title>Prepare for standby server upgrades</title>
531531

532532
<para>
@@ -539,6 +539,20 @@ NET STOP postgresql-&majorversion;
539539
<literal>minimal</literal> in the <filename>postgresql.conf</filename> file on the
540540
new primary cluster.
541541
</para>
542+
543+
<caution>
544+
<para>
545+
If you use Log-Shipping standby servers (without streaming), the last
546+
file in which shutdown checkpoint record is written won't be archived.
547+
To make the standby servers caught up you need to copy the last WAL
548+
file from primary to the standby servers and wait till it is applied.
549+
After that standby servers can issue restartpoint at the same location
550+
as in the stopped master. As alternative before <xref
551+
linkend="pgupgrade-step-prepare-standby-server-upgrades"/> you can
552+
switch from Log-Shipping
553+
to Streaming Replication.
554+
</para>
555+
</caution>
542556
</step>
543557

544558
<step>

0 commit comments

Comments
 (0)