aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-08-29 21:38:18 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-08-29 21:38:18 +0000
commit037709e0b3da1f7ac3d794c60216365cf3e23de1 (patch)
treec8abf9ebec33a29847d6ed66d0108a487a41d586 /doc/src
parent8aec77fb9fbbe78bfb72b6003f9b54d3cadeccd1 (diff)
downloadpostgresql-037709e0b3da1f7ac3d794c60216365cf3e23de1.tar.gz
postgresql-037709e0b3da1f7ac3d794c60216365cf3e23de1.zip
Reduce default value of max_prepared_transactions from 50 to 5. This
saves nearly 700kB in the default shared memory segment size, which seems worthwhile, and it is a feature that many users won't use anyway. Per Heikki's argument, there is no point in a compromise value --- those who are using 2PC at all will probably want it at least equal to max_connections. But we can't set it to zero by default without breaking the prepared_xacts regression test.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 320f1bfb8e8..e346ece23ca 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.348 2005/08/24 18:56:07 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.349 2005/08/29 21:38:17 tgl Exp $
-->
<chapter Id="runtime">
@@ -1179,7 +1179,7 @@ SET ENABLE_SEQSCAN TO OFF;
endterm="sql-prepare-transaction-title">).
Setting this parameter to zero disables the prepared-transaction
feature.
- The default is 50.
+ The default is 5.
This option can only be set at server start.
</para>