From c7d47abd04dc1322fd545370cfeb743680df0e3a Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Mon, 25 Jun 2012 14:00:35 -0400
Subject: [PATCH] Fix typo in DEBUG message, introduced by recent WAL
 refactoring.

Fujii Masao
---
 src/backend/replication/walsender.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 0541c249988..d5cb778f7e6 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -612,9 +612,9 @@ ProcessStandbyReplyMessage(void)
 	pq_copymsgbytes(&reply_message, (char *) &reply, sizeof(StandbyReplyMessage));
 
 	elog(DEBUG2, "write %X/%X flush %X/%X apply %X/%X",
-		 (uint32) (reply.write << 32), (uint32) reply.write,
-		 (uint32) (reply.flush << 32), (uint32) reply.flush,
-		 (uint32) (reply.apply << 32), (uint32) reply.apply);
+		 (uint32) (reply.write >> 32), (uint32) reply.write,
+		 (uint32) (reply.flush >> 32), (uint32) reply.flush,
+		 (uint32) (reply.apply >> 32), (uint32) reply.apply);
 
 	/*
 	 * Update shared state for this WalSender process based on reply data from
-- 
GitLab