doc: Add to hot standby documentation
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 1 Nov 2017 14:50:24 +0000 (10:50 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 1 Nov 2017 14:50:24 +0000 (10:50 -0400)
Document the order of changing certain settings when using hot-standby
servers.  This is just a logical consequence of what was already
documented, but it gives the users some more practical advice.

Author: Yorick Peterse <yorickpeterse@gmail.com>
Reviewed-by: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
doc/src/sgml/high-availability.sgml

index 086d6abb3020d38d947276b2b5121abc6a1c35ef..aa780d360dcb7b9d87555f433106968e8a17d3fd 100644 (file)
@@ -2147,7 +2147,12 @@ LOG:  database system is ready to accept read only connections
     The setting of some parameters on the standby will need reconfiguration
     if they have been changed on the primary. For these parameters,
     the value on the standby must
-    be equal to or greater than the value on the primary. If these parameters
+    be equal to or greater than the value on the primary.
+    Therefore, if you want to increase these values, you should do so on all
+    standby servers first, before applying the changes to the primary server.
+    Conversely, if you want to decrease these values, you should do so on the
+    primary server first, before applying the changes to all standby servers.
+    If these parameters
     are not set high enough then the standby will refuse to start.
     Higher values can then be supplied and the server
     restarted to begin recovery again.  These parameters are: