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

Commitb3aa4cf

Browse files
committed
fix archivedir path in validate_wal
1 parent3ed0666 commitb3aa4cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎parsexlog.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,11 @@ validate_wal(pgBackup *backup,
325325
* up to the given recovery target.
326326
* In any case we cannot restore to the point before stop_lsn.
327327
*/
328-
private.archivedir=archivedir;
328+
if (backup->stream)
329+
private.archivedir=backup_xlog_path;
330+
else
331+
private.archivedir=archivedir;
332+
329333
private.tli=tli;
330334
xlogreader=XLogReaderAllocate(&SimpleXLogPageRead,&private);
331335
if (xlogreader==NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp