]> granicus.if.org Git - postgresql/commitdiff
Fix typo in DEBUG message, introduced by recent WAL refactoring.
authorRobert Haas <rhaas@postgresql.org>
Mon, 25 Jun 2012 18:00:35 +0000 (14:00 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 25 Jun 2012 18:00:35 +0000 (14:00 -0400)
Fujii Masao

src/backend/replication/walsender.c

index 0541c249988697078a4c7d73bca4d9c4bff8cf87..d5cb778f7e6fc9a1a1b1b06781af0eb51d022b90 100644 (file)
@@ -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