Skip to content

Commit 694fd33

Browse files
committed
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.
1 parent 822ff44 commit 694fd33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/receivelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
991991

992992
xlogoff = 0;
993993

994-
if (still_sending && stream_stop(blockpos, timeline, false))
994+
if (still_sending && stream_stop(blockpos, timeline, true))
995995
{
996996
if (PQputCopyEnd(conn, NULL) <= 0 || PQflush(conn))
997997
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy