mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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.
This commit is contained in:
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user