git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 822ff44)
Fix bug in pg_receivexlog --verbose.
Sat, 2 Aug 2014 05:57:21 +0000 (14:57 +0900)
Sat, 2 Aug 2014 05:57:21 +0000 (14:57 +0900)
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.


diff --git a/src/bin/pg_basebackup/receivelog.c b/src/bin/pg_basebackup/receivelog.c
index 44b9fcc7117829c31f2029a2262580fcc0d6f0d6..99d875be9c5c095edeed3e0446abee9428c3c63d 100644 (file)
--- 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))
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /