Commit 7e63445d authored by Tom Lane's avatar Tom Lane

Fix misstatement about the results of using -1 with BEGIN.

parent bc4b856e
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.173 2006/10/31 01:52:31 neilc Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.174 2006/10/31 02:29:15 tgl Exp $
PostgreSQL documentation
-->
......@@ -477,10 +477,12 @@ PostgreSQL documentation
</para>
<para>
If the script itself uses <command>BEGIN</>, <command>COMMIT</>
or any command that cannot be executed inside a transaction
block, specifying this option will cause the transaction to be
aborted.
If the script itself uses <command>BEGIN</>, <command>COMMIT</>,
or <command>ROLLBACK</>, this option will not have the desired
effects.
Also, if the script contains any command that cannot be executed
inside a transaction block, specifying this option will cause that
command (and hence the whole transaction) to fail.
</para>
</listitem>
</varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment