Change SET LOCAL/CONSTRAINTS/TRANSACTION and ABORT behavior
Bruce Momjian <bruce@momjian.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/abort.sgml | modified | +1 −2 |
| doc/src/sgml/ref/rollback.sgml | modified | +2 −2 |
| doc/src/sgml/ref/set_constraints.sgml | modified | +1 −4 |
| doc/src/sgml/ref/set.sgml | modified | +2 −3 |
| doc/src/sgml/ref/set_transaction.sgml | modified | +1 −1 |
| src/backend/access/transam/xact.c | modified | +30 −7 |
| src/backend/tcop/utility.c | modified | +1 −1 |
| src/backend/utils/misc/guc.c | modified | +5 −5 |
| src/include/access/xact.h | modified | +1 −0 |
| src/test/regress/expected/errors.out | modified | +1 −1 |
| src/test/regress/expected/guc.out | modified | +2 −2 |