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

Commit4b58d2e

Browse files
committed
fix validate to target in the future
1 parente0596ef commit4b58d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/parsexlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ validate_wal(pgBackup *backup,
319319
* If recovery target is provided check that we can restore backup to a
320320
* recoverty target time or xid.
321321
*/
322-
if (!TransactionIdIsValid(target_xid)||target_time==0)
322+
if (!TransactionIdIsValid(target_xid)&&target_time==0)
323323
{
324324
/* Recoverty target is not given so exit */
325325
elog(INFO,"backup validation completed successfully");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp