aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/walprotocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/walprotocol.h')
-rw-r--r--src/include/replication/walprotocol.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/replication/walprotocol.h b/src/include/replication/walprotocol.h
index 32c49620c1d..da94b6b2f30 100644
--- a/src/include/replication/walprotocol.h
+++ b/src/include/replication/walprotocol.h
@@ -56,6 +56,15 @@ typedef struct
XLogRecPtr flush;
XLogRecPtr apply;
+ /*
+ * The current xmin and epoch from the standby, for Hot Standby feedback.
+ * This may be invalid if the standby-side does not support feedback,
+ * or Hot Standby is not yet available.
+ */
+ TransactionId xmin;
+ uint32 epoch;
+
+
/* Sender's system clock at the time of transmission */
TimestampTz sendTime;
} StandbyReplyMessage;