summaryrefslogtreecommitdiff
path: root/src/include/access/xact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/xact.h')
-rw-r--r--src/include/access/xact.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h
index 3c66119d944..f00fe4eb582 100644
--- a/src/include/access/xact.h
+++ b/src/include/access/xact.h
@@ -104,6 +104,12 @@ extern 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