Skip to content

Commit fdd00f9

Browse files
bmomjianpull[bot]
authored andcommitted
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 195be14 commit fdd00f9

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
@@ -403,8 +403,8 @@ NET STOP postgresql-&majorversion;
403403
</para>
404404

405405
<para>
406-
Streaming replication and log-shipping standby servers can
407-
remain running until a later step.
406+
Streaming replication and log-shipping standby servers must be
407+
running during this shutdown so they receive all changes.
408408
</para>
409409
</step>
410410

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

0 commit comments

Comments
 (0)