Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7e63445

Browse files
committed
Fix misstatement about the results of using -1 with BEGIN.
1 parent bc4b856 commit 7e63445

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/src/sgml/ref/psql-ref.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.173 2006/10/31 01:52:31 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.174 2006/10/31 02:29:15 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -477,10 +477,12 @@ PostgreSQL documentation
477477
</para>
478478

479479
<para>
480-
If the script itself uses <command>BEGIN</>, <command>COMMIT</>
481-
or any command that cannot be executed inside a transaction
482-
block, specifying this option will cause the transaction to be
483-
aborted.
480+
If the script itself uses <command>BEGIN</>, <command>COMMIT</>,
481+
or <command>ROLLBACK</>, this option will not have the desired
482+
effects.
483+
Also, if the script contains any command that cannot be executed
484+
inside a transaction block, specifying this option will cause that
485+
command (and hence the whole transaction) to fail.
484486
</para>
485487
</listitem>
486488
</varlistentry>

0 commit comments

Comments
 (0)