1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Ensure all replication message info is available and correct via WalRcv

This commit is contained in:
Simon Riggs
2012-08-09 17:03:59 +01:00
parent be690e291d
commit 87d8bd7c9f
3 changed files with 11 additions and 2 deletions

View File

@ -260,7 +260,7 @@ GetReplicationApplyDelay(void)
replayPtr = GetXLogReplayRecPtr(NULL);
if (XLByteLE(receivePtr, replayPtr))
if (XLByteEQ(receivePtr, replayPtr))
return 0;
TimestampDifference(GetCurrentChunkReplayStartTime(),