From cb9cc382b41de4fab2d718f0f8de3441c85aa7f7 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Thu, 3 Sep 2015 22:30:16 +0900 Subject: [PATCH] Document that max_worker_processes must be high enough in standby. 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 | 5 +++++ src/backend/access/transam/xlog.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index d2f7fec523..e4a50ba654 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -2035,6 +2035,11 @@ LOG: database system is ready to accept read only connections max_locks_per_transaction + + + max_worker_processes + + diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 68e33eb1a9..127bc5888f 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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)