Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3c9e4cd

Browse files
committed
Fix oversight in recent pg_basebackup fix causing pg_receivexlog failures.
A oversight in2c0a485 causes 'could not create archive status file"...": No such file or directory' errors in pg_receivexlog if thetarget directory doesn't happen to contain a archive_statusdirectory. That's due to a stupidly left over 'true' constant insteadof mark_done being passed down to ProcessXLogDataMsg().The bug is only present in the master branch, and luckily wasn'treleased.Spotted by Fujii Masao.
1 parent9f1d731 commit3c9e4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_basebackup/receivelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ HandleCopyStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
906906
{
907907
if (!ProcessXLogDataMsg(conn,copybuf,r,&blockpos,
908908
timeline,basedir,stream_stop,
909-
partial_suffix,true))
909+
partial_suffix,mark_done))
910910
gotoerror;
911911

912912
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp