Oct 2026

1 commit
Recompute allocChunkLimit when reusing an AllocSet context
19 Oct 2026David RowleymasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit preserves the helper and both call sites from #1 in src/backend/utils/mmgr/aset.c, adding an assertion that nextBlockSize equals initBlockSize and lightly revising comments. David Rowley explicitly describes the added assertion in #4; the nocfbot attachments were diagnostic reproductions, not additional proposed fixes.

  • Donghang Linsaw the final versiontrailerDonghang Lin endorsed the fix and identified possible block-tail waste in #2, with only light changes following his review.
  • David Rowleysaw the final versiontrailerDavid Rowley committed the patch, added a reset-invariant assertion, clarified memory reuse behavior, and explained the backpatch decision in #4.

Credits across 1 commit

Author
Chao Li1
Reviewer
David Rowley1
Donghang Lin1
Committer
David Rowley1