Oct 2026

2 commits
Adjust weird usages of sentinel_ok()
16 Oct 2026David Rowleymasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All three one-line replacements in src/backend/utils/mmgr/aset.c, generation.c, and slab.c exactly match #1; David Rowley confirms pushing this patch in #4.

  • shihao zhongsaw the final versiontrailerIn #2, shihao zhong approved the patch after verifying that all three header-size macros equal sizeof(MemoryChunk), preserving the checked byte.
Add sentinel_ok() check to BumpCheck().
16 Oct 2026David RowleymasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

This commit adds a missing sentinel_ok() check and warning to BumpCheck() in src/backend/utils/mmgr/bump.c, which the attached patchset does not touch. It implements shihao zhong's suggestion in #2, and David Rowley confirms the fix and backpatch in #3.

  • shihao zhongsaw the final versionLLM analysis, 99% sureIn #2, shihao zhong identified that bump allocations set sentinels that were never checked and proposed the BumpCheck() validation that David Rowley implemented.

Credits across 2 commits

Author
David Rowley2
Reviewer
shihao zhong1
Reported by
shihao zhong1
Committer
David Rowley2