summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/do.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/do.sgml')
-rw-r--r--doc/src/sgml/ref/do.sgml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/do.sgml b/doc/src/sgml/ref/do.sgml
index 061218b135a..b9a6f9a6fd6 100644
--- a/doc/src/sgml/ref/do.sgml
+++ b/doc/src/sgml/ref/do.sgml
@@ -91,6 +91,13 @@ DO [ LANGUAGE <replaceable class="parameter">lang_name</replaceable> ] <replacea
This is the same privilege requirement as for creating a function
in the language.
</para>
+
+ <para>
+ If <command>DO</command> is executed in a transaction block, then the
+ procedure code cannot execute transaction control statements. Transaction
+ control statements are only allowed if <command>DO</command> is executed in
+ its own transaction.
+ </para>
</refsect1>
<refsect1 id="sql-do-examples">