diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-01-20 17:04:58 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-01-20 17:04:58 +0000 |
commit | f5f9577e5075b19232bf49aa3921302bd1ceed12 (patch) | |
tree | 866bc217466b28da808a16ea0f9efc0ca1f950df /src | |
parent | 4945a8fad4efd34b79826f28836c40e294518f43 (diff) | |
download | postgresql-f5f9577e5075b19232bf49aa3921302bd1ceed12.tar.gz postgresql-f5f9577e5075b19232bf49aa3921302bd1ceed12.zip |
Modify max_fsm_pages in postgresql.conf.sample to show a typical value,
rather than a value too high.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 | ||||
-rw-r--r-- | src/bin/initdb/initdb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 50a02a62a50..fb8d0bca86a 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -111,7 +111,7 @@ # - Free Space Map - -#max_fsm_pages = 1638400 # min max_fsm_relations*16, 6 bytes each +#max_fsm_pages = 204800 # min max_fsm_relations*16, 6 bytes each # (change requires restart) #max_fsm_relations = 1000 # min 100, ~70 bytes each # (change requires restart) diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index ab5c3f44d68..0d3f092080c 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -42,7 +42,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * Portions taken from FreeBSD. * - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.128 2007/01/06 19:40:00 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.129 2007/01/20 17:04:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1251,7 +1251,7 @@ setup_config(void) conflines = replace_token(conflines, "#shared_buffers = 32MB", repltok); snprintf(repltok, sizeof(repltok), "max_fsm_pages = %d", n_fsm_pages); - conflines = replace_token(conflines, "#max_fsm_pages = 1638400", repltok); + conflines = replace_token(conflines, "#max_fsm_pages = 204800", repltok); #if DEF_PGPORT != 5432 snprintf(repltok, sizeof(repltok), "#port = %d", DEF_PGPORT); |