mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix oversight in recent pg_basebackup fix causing pg_receivexlog failures.
A oversight in 2c0a485896 causes 'could not create archive status file "...": No such file or directory' errors in pg_receivexlog if the target directory doesn't happen to contain a archive_status directory. That's due to a stupidly left over 'true' constant instead of mark_done being passed down to ProcessXLogDataMsg(). The bug is only present in the master branch, and luckily wasn't released. Spotted by Fujii Masao.
This commit is contained in:
parent
9f1d7313aa
commit
3c9e4cdbf2
@ -906,7 +906,7 @@ HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
|
|||||||
{
|
{
|
||||||
if (!ProcessXLogDataMsg(conn, copybuf, r, &blockpos,
|
if (!ProcessXLogDataMsg(conn, copybuf, r, &blockpos,
|
||||||
timeline, basedir, stream_stop,
|
timeline, basedir, stream_stop,
|
||||||
partial_suffix, true))
|
partial_suffix, mark_done))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user