We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0596ef commit 4b58d2eCopy full SHA for 4b58d2e
src/parsexlog.c
@@ -319,7 +319,7 @@ validate_wal(pgBackup *backup,
319
* If recovery target is provided check that we can restore backup to a
320
* recoverty target time or xid.
321
*/
322
- if (!TransactionIdIsValid(target_xid) || target_time == 0)
+ if (!TransactionIdIsValid(target_xid) && target_time == 0)
323
{
324
/* Recoverty target is not given so exit */
325
elog(INFO, "backup validation completed successfully");
0 commit comments