diff options
author | Bruce Momjian <bruce@momjian.us> | 2023-09-26 18:54:10 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2023-09-26 18:54:10 -0400 |
commit | fa2da00050573d4225674b84054002ccb30d6748 (patch) | |
tree | a5f40a014de52bec32d2371efc82ee74cb31ff20 /doc/src | |
parent | 9ac7fa2776a9940692677f0e4f26fe7254803929 (diff) |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pgupgrade.sgml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml index 9c42b1e5e19..c80e54a2b0c 100644 --- a/doc/src/sgml/ref/pgupgrade.sgml +++ b/doc/src/sgml/ref/pgupgrade.sgml @@ -354,8 +354,8 @@ NET STOP postgresql-&majorversion; </para> <para> - Streaming replication and log-shipping standby servers can - remain running until a later step. + Streaming replication and log-shipping standby servers must be + running during this shutdown so they receive all changes. </para> </step> @@ -368,8 +368,6 @@ NET STOP postgresql-&majorversion; servers are caught up by running <application>pg_controldata</application> against the old primary and standby clusters. Verify that the <quote>Latest checkpoint location</quote> values match in all clusters. - (There will be a mismatch if old standby servers were shut down - before the old primary or if the old standby servers are still running.) Also, make sure <varname>wal_level</varname> is not set to <literal>minimal</literal> in the <filename>postgresql.conf</filename> file on the new primary cluster. |