aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-08-02 14:57:21 +0900
committerFujii Masao <fujii@postgresql.org>2014-08-02 14:57:21 +0900
commit694fd33e23170f64d30ef35e647b824d34938e09 (patch)
treee89d5785d1e290363efb940433c9fc2607b24622 /src
parent822ff44c822007ee14cacfebfe0792d1de669df9 (diff)
downloadpostgresql-694fd33e23170f64d30ef35e647b824d34938e09.tar.gz
postgresql-694fd33e23170f64d30ef35e647b824d34938e09.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/receivelog.c2
1 files changed, 1 insertions, 1 deletions
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))
{