We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e30b0b5 commit ab2343dCopy full SHA for ab2343d
src/backend/access/nbtree/nbtutils.c
@@ -1756,10 +1756,6 @@ _bt_killitems(IndexScanDesc scan)
1756
/* Attempt to re-read the buffer, getting pin and lock. */
1757
buf = _bt_getbuf(scan->indexRelation, so->currPos.currPage, BT_READ);
1758
1759
- /* It might not exist anymore; in which case we can't hint it. */
1760
- if (!BufferIsValid(buf))
1761
- return;
1762
-
1763
page = BufferGetPage(buf);
1764
if (BufferGetLSNAtomic(buf) == so->currPos.lsn)
1765
so->currPos.buf = buf;
0 commit comments