mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +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:
@@ -754,7 +754,7 @@ standard_ProcessUtility(Node *parsetree,
|
||||
break;
|
||||
|
||||
case T_ConstraintsSetStmt:
|
||||
RequireTransactionChain(isTopLevel, "SET CONSTRAINTS");
|
||||
WarnNoTransactionChain(isTopLevel, "SET CONSTRAINTS");
|
||||
AfterTriggerSetState((ConstraintsSetStmt *) parsetree);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user