Commit 9ca5c872 authored by Michael Meskes's avatar Michael Meskes

Document two phase commit commands in ecpg docu.

Patch by Masahiko Sawada
parent 42fcad68
......@@ -507,6 +507,35 @@ EXEC SQL COMMIT;
</listitem>
</varlistentry>
<variablelist>
<varlistentry>
<term><literal>EXEC SQL PREPARE TRANSACTION </literal><replaceable class="PARAMETER">transaction_id</></term>
<listitem>
<para>
Prepare the current transaction for two-phase commit.
</para>
</listitem>
</varlistentry>
<variablelist>
<varlistentry>
<term><literal>EXEC SQL COMMIT PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term>
<listitem>
<para>
Commit a transaction that is in prepared state.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>EXEC SQL ROLLBACK PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term>
<listitem>
<para>
Roll back a transaction that is in prepared state.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>EXEC SQL SET AUTOCOMMIT TO ON</literal></term>
<listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment