Skip to content

Commit cc36795

Browse files
committed
Mention max_prepared_transactions in PREPARE TRANSACTION reference page,
per Bruce's suggestion.
1 parent 13065c7 commit cc36795

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/src/sgml/ref/prepare_transaction.sgml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare_transaction.sgml,v 1.2 2005/08/01 19:38:03 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare_transaction.sgml,v 1.3 2005/08/30 01:37:38 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -117,6 +117,16 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
117117
committed or rolled back as soon as an external transaction manager
118118
has verified that other databases are also prepared to commit.
119119
</para>
120+
121+
<para>
122+
If you make any serious use of prepared transactions, you will probably
123+
want to increase the value of <xref
124+
linkend="guc-max-prepared-transactions">, as the default setting is
125+
quite small (to avoid wasting resources for those who don't use it).
126+
It is recommendable to make it at least equal to
127+
<xref linkend="guc-max-connections">, so that every session can have
128+
a prepared transaction pending.
129+
</para>
120130
</refsect1>
121131

122132
<refsect1 id="sql-prepare-transaction-examples">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy