aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-26 15:38:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-26 15:38:25 +0000
commitf63cbccac7ad4017fabc645548fc9d4aeccde95d (patch)
treeedb03ef21d8f3a828e76b573b14cd58663974b88 /src/backend/utils/misc/postgresql.conf.sample
parent9116f6c91a85d15ece59a571da646bf00600b876 (diff)
downloadpostgresql-f63cbccac7ad4017fabc645548fc9d4aeccde95d.tar.gz
postgresql-f63cbccac7ad4017fabc645548fc9d4aeccde95d.zip
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.
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index f506474c5eb..a30ae074a18 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -28,7 +28,7 @@
# - Connection Settings -
#tcpip_socket = false
-#max_connections = 32
+#max_connections = 100
# note: increasing max_connections costs about 500 bytes of shared
# memory per connection slot, in addition to costs from shared_buffers
# and max_locks_per_transaction.
@@ -55,7 +55,7 @@
# - Memory -
-#shared_buffers = 64 # min 16, at least max_connections*2, 8KB each
+#shared_buffers = 1000 # min 16, at least max_connections*2, 8KB each
#sort_mem = 1024 # min 64, size in KB
#vacuum_mem = 8192 # min 1024, size in KB