]> granicus.if.org Git - postgresql/commitdiff
Wups, fat-fingered the calculation the first time. Update comment in
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Dec 2005 23:28:35 +0000 (23:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 23 Dec 2005 23:28:35 +0000 (23:28 +0000)
postgresql.conf.sample too.

doc/src/sgml/runtime.sgml
src/backend/utils/misc/postgresql.conf.sample

index 331a5c3b893c35ffafdc91d114a6cfe480a88cb6..e43d89316967b8764c02f19266445aeecb9da4a9 100644 (file)
@@ -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>
index 7fbba7d3310e456fbddcb7c7cdcf1aba8690d635..731f9ff6c2e4098d5e0bee4bd976887d8eb9c771 100644 (file)
 
 #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.