From 38803d823cfe872be11592a2d0eb2d9575b07e20 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Sat, 2 Aug 2014 14:57:21 +0900 Subject: [PATCH] Fix bug in pg_receivexlog --verbose. In 9.2, pg_receivexlog with verbose option has emitted the messages at the end of each WAL file. But the commit 0b63291 suppressed such messages by mistake. This commit fixes the bug so that pg_receivexlog --verbose outputs such messages again. Back-patch to 9.3 where the bug was added. --- src/bin/pg_basebackup/receivelog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/receivelog.c b/src/bin/pg_basebackup/receivelog.c index a88457fb28..d57d293735 100644 --- a/src/bin/pg_basebackup/receivelog.c +++ b/src/bin/pg_basebackup/receivelog.c @@ -1028,7 +1028,7 @@ HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, xlogoff = 0; - if (still_sending && stream_stop(blockpos, timeline, false)) + if (still_sending && stream_stop(blockpos, timeline, true)) { if (PQputCopyEnd(conn, NULL) <= 0 || PQflush(conn)) { -- 2.40.0