projects
/
2ndquadrant_bdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4fdfb
)
Fix bug in pg_receivexlog --verbose.
author
Fujii Masao
<fujii@postgresql.org>
Sat, 2 Aug 2014 05:57:21 +0000
(14:57 +0900)
committer
Fujii Masao
<fujii@postgresql.org>
Sat, 2 Aug 2014 05:59:10 +0000
(14:59 +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.
src/bin/pg_basebackup/receivelog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_basebackup/receivelog.c
b/src/bin/pg_basebackup/receivelog.c
index ded9b70dc2180778b82ae44058eb20e161fb0a87..866d4d82eaf04b53b0f114ff83172e3f332792e4 100644
(file)
--- a/
src/bin/pg_basebackup/receivelog.c
+++ b/
src/bin/pg_basebackup/receivelog.c
@@
-1082,7
+1082,7
@@
HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
xlogoff = 0;
- if (still_sending && stream_stop(blockpos, timeline,
fals
e))
+ if (still_sending && stream_stop(blockpos, timeline,
tru
e))
{
if (PQputCopyEnd(conn, NULL) <= 0 || PQflush(conn))
{