mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +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:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.360 2003/08/13 16:16:23 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.361 2003/08/26 15:38:24 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@ -1978,7 +1978,7 @@ usage(char *progname)
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
printf(" -A 1|0 enable/disable run-time assert checking\n");
|
||||
#endif
|
||||
printf(" -B NBUFFERS number of shared buffers (default %d)\n", DEF_NBUFFERS);
|
||||
printf(" -B NBUFFERS number of shared buffers\n");
|
||||
printf(" -c NAME=VALUE set run-time parameter\n");
|
||||
printf(" -d 0-5 debugging level (0 is off)\n");
|
||||
printf(" -D DATADIR database directory\n");
|
||||
@ -2651,7 +2651,7 @@ PostgresMain(int argc, char *argv[], const char *username)
|
||||
if (!IsUnderPostmaster)
|
||||
{
|
||||
puts("\nPOSTGRES backend interactive interface ");
|
||||
puts("$Revision: 1.360 $ $Date: 2003/08/13 16:16:23 $\n");
|
||||
puts("$Revision: 1.361 $ $Date: 2003/08/26 15:38:24 $\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user