Jun 2026

1 commit
pg_surgery: Fix off-by-one bug with heap offset
5 Jun 2026Michael Paquiermaster19beta2REL_19_STABLE19beta2REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

The commit matches both zero-based array accesses in #7, changing only Assert((offno - 1) < MaxHeapTuplesPerPage) to Assert(offno <= MaxHeapTuplesPerPage). Ashutosh proposed that simplification in #8, and Michael confirmed applying it in #9.

  • Ashutosh Sharmasaw the final versiontrailerAshutosh defended the enlarged array's readability in #5, then reviewed the replacement and supplied the assertion simplification adopted in the commit #8.

Credits across 1 commit

Author
Michael PaquierLLM1
Reviewer
Ashutosh Sharma1
Reported by
王跃林1
Committer
Michael Paquier1

N LLM means N of the credits come from LLM analysis, not from commit trailers.