1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Change SET LOCAL/CONSTRAINTS/TRANSACTION and ABORT behavior

Change SET LOCAL/CONSTRAINTS/TRANSACTION behavior outside of a
transaction block from error (post-9.3) to warning.  (Was nothing in <=
9.3.)  Also change ABORT outside of a transaction block from notice to
warning.
This commit is contained in:
Bruce Momjian
2013-11-25 19:19:40 -05:00
parent 05b476c298
commit a6542a4b68
11 changed files with 47 additions and 28 deletions

View File

@@ -59,8 +59,8 @@ ROLLBACK [ WORK | TRANSACTION ]
</para>
<para>
Issuing <command>ROLLBACK</> when not inside a transaction does
no harm, but it will provoke a warning message.
Issuing <command>ROLLBACK</> outside of a transaction
block has no effect.
</para>
</refsect1>