diff options
Diffstat (limited to 'src/include/access/xact.h')
-rw-r--r-- | src/include/access/xact.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 4794941df31..65616ca2f79 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -108,6 +108,12 @@ extern PGDLLIMPORT int MyXactFlags; #define XACT_FLAGS_ACQUIREDACCESSEXCLUSIVELOCK (1U << 1) /* + * XACT_FLAGS_NEEDIMMEDIATECOMMIT - records whether the top level statement + * is one that requires immediate commit, such as CREATE DATABASE. + */ +#define XACT_FLAGS_NEEDIMMEDIATECOMMIT (1U << 2) + +/* * start- and end-of-transaction callbacks for dynamically loaded modules */ typedef enum |