mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +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:
@@ -245,6 +245,7 @@ extern char TransactionBlockStatusCode(void);
|
||||
extern void AbortOutOfAnyTransaction(void);
|
||||
extern void PreventTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern void RequireTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern void WarnNoTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern bool IsInTransactionChain(bool isTopLevel);
|
||||
extern void RegisterXactCallback(XactCallback callback, void *arg);
|
||||
extern void UnregisterXactCallback(XactCallback callback, void *arg);
|
||||
|
||||
Reference in New Issue
Block a user