1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

[PBCKP-434] page's lsn is end of record too

therefore if it is equal to stop_lsn then it is not from future.
This commit is contained in:
Yura Sokolov
2022-12-26 01:50:35 +03:00
parent 84f4ac9e23
commit 7c93d72043
+1 -1
View File
@@ -1345,7 +1345,7 @@ validate_one_page(Page page, BlockNumber absolute_blkno,
if (stop_lsn > 0)
{
/* Get lsn from page header. Ensure that page is from our time. */
if (page_st->lsn >= stop_lsn)
if (page_st->lsn > stop_lsn)
return PAGE_LSN_FROM_FUTURE;
}