summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas2012-07-04 19:52:35 +0000
committerRobert Haas2012-07-04 19:55:21 +0000
commitf358428280953643313ee7756e0a8b8ccfde7660 (patch)
treee251a112387da92cdbee9455215e4c226357a471
parent17676c785a95b2598c5735c0025f7dc7727a96bc (diff)
Increase the maximum initdb-configured value for shared_buffers to 128MB.
The old value of 32MB has been around for a very long time, and in the meantime typical system memories have become vastly larger. Also, now that we no longer depend on being able to fit the entirety of our shared memory segment into the system's limit on System V shared memory, there's a much better chance of the higher limit actually proving productive. Per recent discussion on pgsql-hackers.
-rw-r--r--src/bin/initdb/initdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index edd5d71eb82..52aedca459c 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -895,7 +895,7 @@ test_config_settings(void)
100, 50, 40, 30, 20, 10
};
static const int trial_bufs[] = {
- 4096, 3584, 3072, 2560, 2048, 1536,
+ 16384, 8192, 4096, 3584, 3072, 2560, 2048, 1536,
1000, 900, 800, 700, 600, 500,
400, 300, 200, 100, 50
};