aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2012-08-09 17:03:10 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2012-08-09 17:03:10 +0100
commit6a2cbe12358d3e3c356d863c8fc40c5f8daadb2a (patch)
treec73114b5d5a5f0d43b84b9019536f6b23ba5aa01 /src/include
parent6f4b8a4f4f7a2d683ff79ab59d3693714b965e3d (diff)
downloadpostgresql-6a2cbe12358d3e3c356d863c8fc40c5f8daadb2a.tar.gz
postgresql-6a2cbe12358d3e3c356d863c8fc40c5f8daadb2a.zip
Ensure all replication message info is available and correct via WalRcv
Diffstat (limited to 'src/include')
-rw-r--r--src/include/replication/walreceiver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h
index 8c402deb96f..9eb96c8820e 100644
--- a/src/include/replication/walreceiver.h
+++ b/src/include/replication/walreceiver.h
@@ -84,6 +84,12 @@ typedef struct
TimestampTz lastMsgReceiptTime;
/*
+ * Latest reported end of WAL on the sender
+ */
+ XLogRecPtr latestWalEnd;
+ TimestampTz latestWalEndTime;
+
+ /*
* connection string; is used for walreceiver to connect with the primary.
*/
char conninfo[MAXCONNINFO];