postgres.git / summary / log / commit / refs

commit    694fd33e23170f64d30ef35e647b824d34938e09
Author:   Fujii Masao <fujii@postgresql.org>
Date:     Sat Aug 02 05:57:21 2014 +0000
First released in: 9.5.0, 9.3.6, 9.4.0

    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 44b9fcc7117..99d875be9c5 100644 --- a/src/bin/pg_basebackup/receivelog.c +++ b/src/bin/pg_basebackup/receivelog.c @@ -991,7 +991,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)) { [parent: 822ff44c8220]