Skip to content

Commit 779c4e3

Browse files
author
Steve888888
committed
翻译11.2 ref/do.sgml
1 parent ac85074 commit 779c4e3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

postgresql/doc/src/sgml/ref/do.sgml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ doc/src/sgml/ref/do.sgml
33
PostgreSQL documentation
44
-->
55

6-
<refentry id="SQL-DO">
6+
<refentry id="sql-do">
77
<!--==========================orignal english content==========================
88
<indexterm zone="sql-do">
99
<primary>DO</primary>
@@ -177,6 +177,21 @@ ____________________________________________________________________________-->
177177
是不可信的则必须是一个超级用户。这和创建一个该语言的函数对
178178
特权的要求相同。
179179
</para>
180+
<!--==========================orignal english content==========================
181+
182+
<para>
183+
If <command>DO</command> is executed in a transaction block, then the
184+
procedure code cannot execute transaction control statements. Transaction
185+
control statements are only allowed if <command>DO</command> is executed in
186+
its own transaction.
187+
</para>
188+
189+
____________________________________________________________________________-->
190+
<para>
191+
如果在事务块中执行<command>DO</command>,过程代码则无法执行事务控制语句。只有在自己的事务中执行<command>DO</command>时,才允许使用事务控制语句。
192+
193+
</para>
194+
180195
</refsect1>
181196

182197
<refsect1 id="sql-do-examples">

0 commit comments

Comments
 (0)