mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-04 10:44:46 +02:00
Bug fix: Fix for 723c2b01a
This commit is contained in:
parent
93cedf1747
commit
687b069f09
@ -626,14 +626,14 @@ validate_wal(pgBackup *backup, const char *archivedir,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Check target lsn */
|
/* Check target lsn */
|
||||||
else if (XRecOffIsValid(target_xid) && last_lsn >= target_lsn)
|
else if (XRecOffIsValid(target_lsn) && last_lsn >= target_lsn)
|
||||||
{
|
{
|
||||||
all_wal = true;
|
all_wal = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* If there are no target xid, target time and target lsn */
|
/* If there are no target xid, target time and target lsn */
|
||||||
else if (!TransactionIdIsValid(target_xid) && target_time == 0 &&
|
else if (!TransactionIdIsValid(target_xid) && target_time == 0 &&
|
||||||
xlogreader->ReadRecPtr == backup->stop_lsn)
|
!XRecOffIsValid(target_lsn))
|
||||||
{
|
{
|
||||||
all_wal = true;
|
all_wal = true;
|
||||||
/* We don't stop here. We want to get last_xid and last_time */
|
/* We don't stop here. We want to get last_xid and last_time */
|
||||||
|
Loading…
Reference in New Issue
Block a user