Change "superuser_reserved_connections" default to 3, because of

possible autovacuum use.
This commit is contained in:
Bruce Momjian 2006-09-02 23:04:20 +00:00
parent 1f57aac024
commit 1a84952670
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.80 2006/09/02 21:11:26 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.81 2006/09/02 23:04:20 momjian Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@ -383,7 +383,7 @@ SET ENABLE_SEQSCAN TO OFF;
</para>
<para>
The default value is 2. The value must be less than the value of
The default value is 3. The value must be less than the value of
<varname>max_connections</varname>. This parameter can only be
set at server start.
</para>

View File

@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.348 2006/09/02 17:08:10 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.349 2006/09/02 23:04:20 momjian Exp $
*
*--------------------------------------------------------------------
*/
@ -1139,7 +1139,7 @@ static struct config_int ConfigureNamesInt[] =
NULL
},
&ReservedBackends,
2, 0, INT_MAX / 4, NULL, NULL
3, 0, INT_MAX / 4, NULL, NULL
},
{