Document that max_worker_processes must be high enough in standby.
authorFujii Masao
Thu, 3 Sep 2015 13:30:16 +0000 (22:30 +0900)
committerFujii Masao
Thu, 3 Sep 2015 13:30:16 +0000 (22:30 +0900)
The setting values of some parameters including max_worker_processes
must be equal to or higher than the values on the master. However,
previously max_worker_processes was not listed as such parameter
in the document. So this commit adds it to that list.

Back-patch to 9.4 where max_worker_processes was added.

doc/src/sgml/high-availability.sgml
src/backend/access/transam/xlog.c

index 37aa0470ab8c4a4dc5b151f9b5c18c09c0af29e7..6cb690c59aae48a9386e327824ccb6bf2da44bd6 100644 (file)
@@ -2035,6 +2035,11 @@ LOG:  database system is ready to accept read only connections
          max_locks_per_transaction
         
        
+       
+        
+         max_worker_processes
+        
+       
       
    
 
index 68e33eb1a99cbcad8b9fd828cf369168b4dd3ba4..127bc5888f342db3fad3e01a3bf76cd163b78889 100644 (file)
@@ -5842,6 +5842,10 @@ do { \
 /*
  * Check to see if required parameters are set high enough on this server
  * for various aspects of recovery operation.
+ *
+ * Note that all the parameters which this function tests need to be
+ * listed in Administrator's Overview section in high-availability.sgml.
+ * If you change them, don't forget to update the list.
  */
 static void
 CheckRequiredParameterValues(void)