projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fcad6
)
Document two phase commit commands in ecpg docu.
author
Michael Meskes
Mon, 13 Mar 2017 19:48:29 +0000
(20:48 +0100)
committer
Michael Meskes
Mon, 13 Mar 2017 20:03:55 +0000
(21:03 +0100)
Patch by Masahiko Sawada
doc/src/sgml/ecpg.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ecpg.sgml
b/doc/src/sgml/ecpg.sgml
index b8021cbe5b42ecbfeee6069b47c290e3da1a726c..bc4dd686208a1c072be6d114b17f5dd620066adb 100644
(file)
--- a/
doc/src/sgml/ecpg.sgml
+++ b/
doc/src/sgml/ecpg.sgml
@@
-507,6
+507,35
@@
EXEC SQL COMMIT;
+
+
+
EXEC SQL PREPARE TRANSACTION
transaction_id>
+
+
+ Prepare the current transaction for two-phase commit.
+
+
+
+
+
+
+
EXEC SQL COMMIT PREPARED
transaction_id>
+
+
+ Commit a transaction that is in prepared state.
+
+
+
+
+
+
EXEC SQL ROLLBACK PREPARED
transaction_id>
+
+
+ Roll back a transaction that is in prepared state.
+
+
+
+
EXEC SQL SET AUTOCOMMIT TO ON