Jul 2026

1 commit
Fix wrong variable offset sanity check.
16 Jul 2026Peter GeogheganmasterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Konstantin Knizhnik identified incorrect offset checks introduced by c7aeb775df in #1. The committed fix changes both checks from offnum to nextoffnum in src/backend/access/heap/pruneheap.c, matching the diagnosis; Peter Geoghegan confirmed pushing it in #4.

  • Konstantin Knizhniksaw the final versionLLM analysis, 96% sureIdentified that heap_get_root_tuples checked offnum but passed nextoffnum to PageGetItemId, directly establishing the correction applied in the commit #1.
  • Richard Guosaw the final versionLLM analysis, 86% sureConfirmed the reported variable mismatch and diagnosed it as an apparent copy-and-paste typo before the fix was committed #2.

Credits across 1 commit

Author
Peter Geoghegan1
Reported by
Konstantin Knizhnik1
Committer
Peter Geoghegan1