summaryrefslogtreecommitdiff
path: root/src/include/replication/logical.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/logical.h')
-rw-r--r--src/include/replication/logical.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/replication/logical.h b/src/include/replication/logical.h
index 14d71fd1365..6dcf6bc45ac 100644
--- a/src/include/replication/logical.h
+++ b/src/include/replication/logical.h
@@ -89,6 +89,12 @@ typedef struct LogicalDecodingContext
bool prepared_write;
XLogRecPtr write_location;
TransactionId write_xid;
+
+ /*
+ * True if the logical decoding context being used for the creation
+ * of a logical replication slot.
+ */
+ bool in_create;
} LogicalDecodingContext;