mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
nbtree: consistently use minoff variable.
This was arguably an oversight in commit 29b64d1de7
, which moved this
code from nbtutils.c to its nbtsearch.c caller.
This commit is contained in:
@@ -1810,8 +1810,7 @@ _bt_readpage(IndexScanDesc scan, ScanDirection dir, OffsetNumber offnum,
|
||||
*/
|
||||
if (scan->ignore_killed_tuples && ItemIdIsDead(iid))
|
||||
{
|
||||
Assert(offnum >= P_FIRSTDATAKEY(opaque));
|
||||
if (offnum > P_FIRSTDATAKEY(opaque))
|
||||
if (offnum > minoff)
|
||||
{
|
||||
offnum = OffsetNumberPrev(offnum);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user