diff options
| author | Fujii Masao <fujii@postgresql.org> | 2015-09-03 22:30:16 +0900 |
|---|---|---|
| committer | Fujii Masao <fujii@postgresql.org> | 2015-09-03 22:30:16 +0900 |
| commit | 1ea5ce5c5f204918b8a9fa6eaa8f3f1374aa8aec (patch) | |
| tree | 55f565972955b253a39fdaf09b8c4d8915e87a8d | |
| parent | 7d7a103f41fbdc54e608c431ead866061289307d (diff) | |
| download | postgresql-1ea5ce5c5f204918b8a9fa6eaa8f3f1374aa8aec.tar.gz | |
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.
| -rw-r--r-- | doc/src/sgml/high-availability.sgml | 5 | ||||
| -rw-r--r-- | src/backend/access/transam/xlog.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index 37aa0470ab..6cb690c59a 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 <varname>max_locks_per_transaction</> </para> </listitem> + <listitem> + <para> + <varname>max_worker_processes</> + </para> + </listitem> </itemizedlist> </para> 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) |
