File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,35 @@ EXEC SQL COMMIT;
507507 </listitem>
508508 </varlistentry>
509509
510+ <variablelist>
511+ <varlistentry>
512+ <term><literal>EXEC SQL PREPARE TRANSACTION </literal><replaceable class="PARAMETER">transaction_id</></term>
513+ <listitem>
514+ <para>
515+ Prepare the current transaction for two-phase commit.
516+ </para>
517+ </listitem>
518+ </varlistentry>
519+
520+ <variablelist>
521+ <varlistentry>
522+ <term><literal>EXEC SQL COMMIT PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term>
523+ <listitem>
524+ <para>
525+ Commit a transaction that is in prepared state.
526+ </para>
527+ </listitem>
528+ </varlistentry>
529+
530+ <varlistentry>
531+ <term><literal>EXEC SQL ROLLBACK PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term>
532+ <listitem>
533+ <para>
534+ Roll back a transaction that is in prepared state.
535+ </para>
536+ </listitem>
537+ </varlistentry>
538+
510539 <varlistentry>
511540 <term><literal>EXEC SQL SET AUTOCOMMIT TO ON</literal></term>
512541 <listitem>
You can’t perform that action at this time.
0 commit comments