postgres.git / summary / log / commit / refs

commit    d0e87c22d8351645cf77a42e60ee47f260c6c2e2
Author:   Peter Geoghegan <pg@bowt.ie>
Date:     Thu Oct 08 21:35:57 2026 +0000

    Move index-only scan heap fetch comment.
    
    Oversight in commit ddce1da5.


src/backend/access/heap/heapam_indexscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/heap/heapam_indexscan.c b/src/backend/access/heap/heapam_indexscan.c index 0ae028ecd41..49981525c67 100644 --- a/src/backend/access/heap/heapam_indexscan.c +++ b/src/backend/access/heap/heapam_indexscan.c @@ -365,9 +365,9 @@ heapam_index_getnext_slot(IndexScanDesc scan, ScanDirection direction, ItemPointerGetBlockNumber(&scan->xs_heaptid), &hscan->xs_vmbuffer); - /* Page isn't all-visible, so verify visibility with a heap fetch */ if (unlikely(!all_visible)) { + /* Page isn't all-visible, so need a heap fetch */ if (!heapam_index_only_heap_fetch(scan)) { /* No visible tuple */ [parent: f884f359f5ac]