summaryrefslogtreecommitdiff
path: root/src/backend/replication/walreceiverfuncs.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2012-08-09 17:03:59 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2012-08-09 17:03:59 +0100
commit87d8bd7c9fdc63d892968e1248e639c8078af615 (patch)
tree0b3b1659dff92932dbe7e9ef8c8fad7a6a4c650a /src/backend/replication/walreceiverfuncs.c
parentbe690e291d59e8d0c9f4df59abe09f1ff6cc0da9 (diff)
Ensure all replication message info is available and correct via WalRcv
Diffstat (limited to 'src/backend/replication/walreceiverfuncs.c')
-rw-r--r--src/backend/replication/walreceiverfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/walreceiverfuncs.c b/src/backend/replication/walreceiverfuncs.c
index b31e964fecd..9eba180f049 100644
--- a/src/backend/replication/walreceiverfuncs.c
+++ b/src/backend/replication/walreceiverfuncs.c
@@ -260,7 +260,7 @@ GetReplicationApplyDelay(void)
replayPtr = GetXLogReplayRecPtr(NULL);
- if (XLByteLE(receivePtr, replayPtr))
+ if (XLByteEQ(receivePtr, replayPtr))
return 0;
TimestampDifference(GetCurrentChunkReplayStartTime(),