mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +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:
parent
c1c09007e2
commit
18ea6b3d0d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user