fix bug of PITR recovery in specify LSN

This commit is contained in:
victor_zhc 2020-08-31 19:58:44 +08:00
parent f370abbabd
commit 7cef87006e
1 changed files with 1 additions and 1 deletions

View File

@ -7470,7 +7470,7 @@ static bool recoveryStopsHere(XLogReaderState* record, bool* includeThis)
// Ignore recoveryTargetInclusive because this is not a transaction record
*includeThis = false;
} else {
} else if (t_thrd.xlog_cxt.recoveryTarget == RECOVERY_TARGET_TIME) {
/*
* There can be many transactions that share the same commit time, so
* we stop after the last one, if we are inclusive, or stop at the