From 7f7fd9b345f5a13062a066e89763d882aa24c9cb 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 d249959f205..65281f7f976 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -1993,6 +1993,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 307a04c45ba..d8876f2f021 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -6024,6 +6024,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)