diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/bgworker.sgml | 5 | ||||
-rw-r--r-- | doc/src/sgml/config.sgml | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml index b0dde7564d8..f7126388af1 100644 --- a/doc/src/sgml/bgworker.sgml +++ b/doc/src/sgml/bgworker.sgml @@ -146,4 +146,9 @@ typedef struct BackgroundWorker The <filename>worker_spi</> contrib module contains a working example, which demonstrates some useful techniques. </para> + + <para> + The maximum number of registered background workers is limited by + <xref linkend="guc-max-worker-processes">. + </para> </chapter> diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 437dbb7711c..9126bc37cb5 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1595,6 +1595,25 @@ include 'filename' </para> </listitem> </varlistentry> + + <varlistentry id="guc-max-worker-processes" xreflabel="max_worrker_processes"> + <term><varname>max_worker_processes</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>max_worker_processes</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + Sets the maximum number of background processes that the system + can support. This parameter can only be set at server start. + </para> + + <para> + When running a standby server, you must set this parameter to the + same or higher value than on the master server. Otherwise, queries + will not be allowed in the standby server. + </para> + </listitem> + </varlistentry> </variablelist> </sect2> </sect1> |