1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00

Move index-only scan heap fetch comment.

Oversight in commit ddce1da5.
This commit is contained in:
Peter Geoghegan
2026-10-08 17:35:57 -04:00
parent f884f359f5
commit d0e87c22d8

View File

@@ -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 */