Feb 2025

1 commit
radixtree: Fix crash when non-creator begins iteration over shared tree.
6 Feb 2025Masahiko SawadaREL_17_STABLE17.3
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The PostgreSQL 17 commit preserves all executable changes from #1 in src/include/lib/radixtree.h, including iterator-context creation and deletion. It omits the added RT_ATTACH()/RT_DETACH() documentation and rewrites the commit message.

  • John Naylorsaw the final versiontrailerJohn proposed lazy initialization in #2, then reconsidered the revision and explicitly recommended the original fix for PostgreSQL 17 in #4 and #6.

Jan 2025

3 commits
Always use the caller-provided context for radix tree leaves
6 Jan 2025John Naylormaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #81 of 1 reviewer saw the final version

This commits the third patch of the three-patch series in #8: removing automatic slab-context creation in src/include/lib/radixtree.h and using a caller-provided slab context in test_random(). The selected patch's implementation matches modulo whitespace; the other two patches landed separately.

  • Masahiko Sawadasaw the final versionLLM analysis, 100% sureMasahiko discussed the revised design in #7, approved all three final patches in #9, and is explicitly credited in the commit message.
Get rid of radix tree's general purpose memory context
6 Jan 2025John Naylormaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #81 of 1 reviewer saw the final version

This commits the second patch of #8, covering radix-tree context removal and corresponding TidStore and test changes. It additionally removes the unused TidStore.context member and its assignments, as agreed in #9, and adjusts a comment.

  • Masahiko Sawadasaw the final versionLLM analysis, 100% sureMasahiko identified the stale TidStore comment in #7, then approved the final series and explicitly agreed to removing the unused context member in #9.
Use caller's memory context for radix tree iteration state
6 Jan 2025John Naylormaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #81 of 1 reviewer saw the final version

This commits the first patch of #8, removing iter_context and allocating iterator state with palloc0() in src/include/lib/radixtree.h. Its diff matches that component of the series; the commit message was rewritten and the remaining components landed separately.

  • Masahiko Sawadasaw the final versionLLM analysis, 100% sureMasahiko endorsed the revised approach in #7 and approved all three final patches in #9, with explicit review credit in the commit message.

Credits across 4 commits

Author
John NaylorLLM3
Masahiko SawadaLLM1
Reviewer
John Naylor1
Committer
John Naylor3
Masahiko Sawada1

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