You've already forked pg_probackup
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:
+1
-1
@@ -1345,7 +1345,7 @@ validate_one_page(Page page, BlockNumber absolute_blkno,
|
|||||||
if (stop_lsn > 0)
|
if (stop_lsn > 0)
|
||||||
{
|
{
|
||||||
/* Get lsn from page header. Ensure that page is from our time. */
|
/* 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;
|
return PAGE_LSN_FROM_FUTURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user