File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
postgresql/doc/src/sgml/ref Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ doc/src/sgml/ref/do.sgml
3
3
PostgreSQL documentation
4
4
-->
5
5
6
- <refentry id="SQL-DO ">
6
+ <refentry id="sql-do ">
7
7
<!--==========================orignal english content==========================
8
8
<indexterm zone="sql-do">
9
9
<primary>DO</primary>
@@ -177,6 +177,21 @@ ____________________________________________________________________________-->
177
177
是不可信的则必须是一个超级用户。这和创建一个该语言的函数对
178
178
特权的要求相同。
179
179
</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
+
180
195
</refsect1>
181
196
182
197
<refsect1 id="sql-do-examples">
You can’t perform that action at this time.
0 commit comments