aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-12-23 23:28:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-12-23 23:28:35 +0000
commit7d732f06cc462101477576d0271a9a865f2fbe8f (patch)
tree86a5c20227be2150b00bff70aafc52ec56209210
parentb1bff7e6fab06b7c10d11f4dbb9d10e2bc421606 (diff)
downloadpostgresql-7d732f06cc462101477576d0271a9a865f2fbe8f.tar.gz
postgresql-7d732f06cc462101477576d0271a9a865f2fbe8f.zip
Wups, fat-fingered the calculation the first time. Update comment in
postgresql.conf.sample too.
-rw-r--r--doc/src/sgml/runtime.sgml6
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 331a5c3b893..e43d8931696 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.358 2005/12/23 23:02:26 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.359 2005/12/23 23:28:35 tgl Exp $
-->
<chapter Id="runtime">
@@ -1031,12 +1031,12 @@ set semsys:seminfo_semmsl=32
<tbody>
<row>
<entry><xref linkend="guc-max-connections"></>
- <entry>400 + 400 * <xref linkend="guc-max-locks-per-transaction"></entry>
+ <entry>400 + 270 * <xref linkend="guc-max-locks-per-transaction"></entry>
</row>
<row>
<entry><xref linkend="guc-max-prepared-transactions"></>
- <entry>600 + 400 * <xref linkend="guc-max-locks-per-transaction"></entry>
+ <entry>600 + 270 * <xref linkend="guc-max-locks-per-transaction"></entry>
</row>
<row>
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 7fbba7d3310..731f9ff6c2e 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -401,7 +401,7 @@
#deadlock_timeout = 1000 # in milliseconds
#max_locks_per_transaction = 64 # min 10
-# note: each lock table slot uses ~220 bytes of shared memory, and there are
+# note: each lock table slot uses ~270 bytes of shared memory, and there are
# max_locks_per_transaction * (max_connections + max_prepared_transactions)
# lock table slots.