Mention two-phase commit for having all transactions commit on all servers.
authorBruce Momjian
Thu, 16 Nov 2006 21:45:25 +0000 (21:45 +0000)
committerBruce Momjian
Thu, 16 Nov 2006 21:45:25 +0000 (21:45 +0000)
doc/src/sgml/failover.sgml

index 618d0bea9dadb5b4d48cc3b49ce1aefb8b9e1f9d..63b4cf5175913c01ce982ff43fc07073818c77ce 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Failover, Replication, Load Balancing, and Clustering Options
     is because each server operates independently, and because SQL
     queries are broadcast (and not actual modified rows).  If this
     is unacceptable, applications must query such values from a
-    single server and then use those values in write queries.  Also,
-    care must be taken that all transactions either commit or abort
-    on all servers  Pgpool is an example of this type of replication.
+    single server and then use those values in write queries.
+    Also, care must be taken that all transactions either commit
+    or abort on all servers, perhaps using two-phase commit (
+    linkend="sql-prepare-transaction"
+    endterm="sql-prepare-transaction-title"> and 
+    linkend="sql-commit-prepared" endterm="sql-commit-prepared-title">.
+    Pgpool is an example of this type of replication.