Skip to content

Commit 8a61933

Browse files
committed
Mention two-phase commit for having all transactions commit on all servers.
1 parent a1e5b5c commit 8a61933

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/src/sgml/failover.sgml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/failover.sgml,v 1.8 2006/11/16 21:43:33 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/failover.sgml,v 1.9 2006/11/16 21:45:25 momjian Exp $ -->
22

33
<chapter id="failover">
44
<title>Failover, Replication, Load Balancing, and Clustering Options</title>
@@ -192,9 +192,13 @@
192192
is because each server operates independently, and because SQL
193193
queries are broadcast (and not actual modified rows). If this
194194
is unacceptable, applications must query such values from a
195-
single server and then use those values in write queries. Also,
196-
care must be taken that all transactions either commit or abort
197-
on all servers Pgpool is an example of this type of replication.
195+
single server and then use those values in write queries.
196+
Also, care must be taken that all transactions either commit
197+
or abort on all servers, perhaps using two-phase commit (<xref
198+
linkend="sql-prepare-transaction"
199+
endterm="sql-prepare-transaction-title"> and <xref
200+
linkend="sql-commit-prepared" endterm="sql-commit-prepared-title">.
201+
Pgpool is an example of this type of replication.
198202
</para>
199203
</listitem>
200204
</varlistentry>

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