Skip to content

Commit 7f7fd9b

Browse files
committed
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.
1 parent ce6e50a commit 7f7fd9b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/src/sgml/high-availability.sgml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,6 +1993,11 @@ LOG: database system is ready to accept read only connections
19931993
<varname>max_locks_per_transaction</>
19941994
</para>
19951995
</listitem>
1996+
<listitem>
1997+
<para>
1998+
<varname>max_worker_processes</>
1999+
</para>
2000+
</listitem>
19962001
</itemizedlist>
19972002
</para>
19982003

src/backend/access/transam/xlog.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6024,6 +6024,10 @@ do { \
60246024
/*
60256025
* Check to see if required parameters are set high enough on this server
60266026
* for various aspects of recovery operation.
6027+
*
6028+
* Note that all the parameters which this function tests need to be
6029+
* listed in Administrator's Overview section in high-availability.sgml.
6030+
* If you change them, don't forget to update the list.
60276031
*/
60286032
static void
60296033
CheckRequiredParameterValues(void)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy