mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03:00
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.
This commit is contained in:
parent
d5186cf270
commit
38803d823c
@ -1028,7 +1028,7 @@ HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
|
|||||||
|
|
||||||
xlogoff = 0;
|
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))
|
if (PQputCopyEnd(conn, NULL) <= 0 || PQflush(conn))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user