Nov 2024

2 commits
Add nbtree amgettuple return item function.
13 Nov 2024Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #221 of 1 reviewer saw the final version

The commit preserves the _bt_returnitem implementation, call sites, and assertions from #22. Differences in src/backend/access/nbtree/nbtsearch.c are explanatory comments about the helper, scan contracts, and initialization.

  • Masahiro Ikedasaw the final versiontrailerIn #23, he approved the refactor, checked the currTuples condition, and reported make check-world passing; only comment edits followed.
Avoid nbtree parallel scan currPos confusion.
8 Nov 2024Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #160 of 1 reviewer saw the final version

The commit retains the seized argument and delayed-seizure fix from #16, but moves P_NONE termination from _bt_parallel_release into _bt_parallel_seize in src/backend/access/nbtree/nbtree.c. It also adds an assertion in nbtutils.c and local cleanup in nbtsearch.c.

  • Masahiro Ikedasaw an earlier versiontrailerHe diagnosed the regression in #14 and confirmed the fix in #17, but the committed version subsequently changed the parallel end-of-index mechanism.

Oct 2024

1 commit
Optimize nbtree backwards scans.
18 Oct 2024Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #11

The commit retains the cached sibling links, helper structure, and unified traversal loop from #11, with both Matthias van de Meent and Peter Geoghegan credited as authors. Committer edits restore currPos.dir instead of markDir, simplify BTScanPosInvalidate in src/include/access/nbtree.h, and revise initialization and invalidation timing in nbtsearch.c.

Aug 2024

1 commit
Avoid unneeded nbtree backwards scan buffer locks.
11 Aug 2024Peter Geogheganmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The commit implements both nbtsearch.c changes from #1. It moves the precheck below the existing parallel-position adjustment, unpins before calling _bt_parallel_done, and harmonizes comments without changing the optimization.

  • Matthias van de Meentsaw the final versiontrailerIn #2, he explicitly approved the patch and its symmetry with forward end-of-scan handling; only light rearrangement and comment changes followed.

Credits across 4 commits

Author
Peter Geoghegan4
Matthias van de Meent1
Reviewer
Masahiro Ikeda2
Matthias van de Meent1
Reported by
Masahiro Ikeda1
Committer
Peter Geoghegan4