pg_upgrade docs: clarify rsync and move verification step
authorBruce Momjian
Tue, 1 Sep 2015 20:42:43 +0000 (16:42 -0400)
committerBruce Momjian
Tue, 1 Sep 2015 20:42:43 +0000 (16:42 -0400)
These are adjustments based on someone using the new standby upgrade
steps.

Report by Andy Colson

Backpatch through 9.5

doc/src/sgml/ref/pgupgrade.sgml

index ebc0d58887e1b977357d7a26e6785f1a15fed387..fcb03161edff261b212cb81510767e55c273f3ce 100644 (file)
@@ -310,8 +310,21 @@ NET STOP postgresql-9.0
     
 
     
-     Streaming replication and log-shipping standby servers can remain running until
-     a later step.
+     Streaming replication and log-shipping standby servers can
+     remain running until a later step.
+    
+   
+
+   
+    Verify standby servers
+
+    
+     If you are upgrading Streaming Replication and Log-Shipping standby
+     servers, verify that the old standby servers are caught up by running
+     pg_controldata against the old primary and standby
+     clusters.  Verify that the Latest checkpoint location
+     values match in all clusters.  (There will be a mismatch if old
+     standby servers were shut down before the old primary.)
     
    
 
@@ -404,7 +417,9 @@ pg_upgrade.exe
      If you have Streaming Replication (
      linkend="streaming-replication">) or Log-Shipping (
      linkend="warm-standby">) standby servers, follow these steps to
-     upgrade them (before starting any servers):
+     upgrade them.  You will not be running pg_upgrade
+     on the standby servers, but rather rsync.  Do not
+     start any servers yet.
     
 
     
@@ -447,18 +462,6 @@ pg_upgrade.exe
       
      
 
-     
-      Verify standby servers
-
-      
-       To prevent old standby servers from being modified, run
-       pg_controldata against the primary and standby
-       clusters and verify that the Latest checkpoint location
-       values match in all clusters.  (This requires the standbys to be
-       shut down after the primary.)
-      
-     
-
      
       Save configuration files