1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-05 02:22:28 +03:00

Mop-up for previous change to determine default shared_buffers and

max_connections at initdb time.  Get rid of DEF_NBUFFERS and DEF_MAXBACKENDS
macros, which aren't doing anything useful anymore, and put more likely
defaults into postgresql.conf.sample.
This commit is contained in:
Tom Lane
2003-08-26 15:38:25 +00:00
parent 9116f6c91a
commit f63cbccac7
7 changed files with 17 additions and 22 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.150 2003/08/17 22:19:15 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.151 2003/08/26 15:38:25 tgl Exp $
*
*--------------------------------------------------------------------
*/
@@ -944,7 +944,7 @@ static struct config_int ConfigureNamesInt[] =
NULL
},
&MaxBackends,
DEF_MAXBACKENDS, 1, INT_MAX, NULL, NULL
100, 1, INT_MAX, NULL, NULL
},
{
@@ -962,7 +962,7 @@ static struct config_int ConfigureNamesInt[] =
NULL
},
&NBuffers,
DEF_NBUFFERS, 16, INT_MAX, NULL, NULL
1000, 16, INT_MAX, NULL, NULL
},
{