Jun 2025

2 commits
Make _bt_killitems drop pins it acquired itself.
11 Jun 2025Peter Geogheganmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #31

Implements the first patch of #31, leaving out the broader pin-management refactor, as confirmed by #32. The supplied diff and git show contain the older-code adaptation in src/backend/access/nbtree/nbtutils.c, using droppedpin instead of so->dropPin and adding the LSN checks, without the btrescan comment hunk.

Avoid BufferGetLSNAtomic() calls during nbtree scans.
6 Jun 2025Peter Geogheganmaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 99% suremodified before commitlight changesfrom patchset #241 of 1 reviewer saw the final version

Matches the optimization in #24, with drop_pin renamed and relocated as dropPin in nbtree.h, expanded comments, and equivalent control-flow cleanup in _bt_killitems(). The delayed LSN acquisition and scan eligibility conditions are preserved; #25 announces the push.

  • Tomas Vondrasaw the final versiontrailerTomas benchmarked #8 and #11, reporting systematic comparisons in #21, and subsequent revisions preserved their behavior with light cleanup.

Credits across 2 commits

Author
Peter Geoghegan2
Reviewer
Tomas Vondra1
Reported by
Alexander Lakhin1
Committer
Peter Geoghegan2