Skip to content

Commit 35dd1ae

Browse files
committed
doc: pg_upgrade, clarify standby servers must remain running
Also mention that mismatching primary/standby LSNs should never happen. Reported-by: Nikolay Samokhvalov Discussion: https://postgr.es/m/CAM527d8heqkjG5VrvjU3Xjsqxg41ufUyabD9QZccdAxnpbRH-Q@mail.gmail.com Backpatch-through: 11
1 parent 3d398ae commit 35dd1ae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ NET STOP postgresql-&majorversion;
354354
</para>
355355

356356
<para>
357-
Streaming replication and log-shipping standby servers can
358-
remain running until a later step.
357+
Streaming replication and log-shipping standby servers must be
358+
running during this shutdown so they receive all changes.
359359
</para>
360360
</step>
361361

@@ -368,8 +368,6 @@ NET STOP postgresql-&majorversion;
368368
servers are caught up by running <application>pg_controldata</application>
369369
against the old primary and standby clusters. Verify that the
370370
<quote>Latest checkpoint location</quote> values match in all clusters.
371-
(There will be a mismatch if old standby servers were shut down
372-
before the old primary or if the old standby servers are still running.)
373371
Also, make sure <varname>wal_level</varname> is not set to
374372
<literal>minimal</literal> in the <filename>postgresql.conf</filename> file on the
375373
new primary cluster.

0 commit comments

Comments
 (0)