Sep 2025

1 commit
Teach nbtree to avoid evaluating row compare keys.
15 Sep 2025Peter Geogheganmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #50 of 1 reviewer saw the final version

The commit retains the row-comparison optimization and shared helper from #5, but rewrites the _bt_set_startikey loop to explicitly require both endpoint tuples to satisfy the comparison through the same deciding subkey. It also renames the helper to _bt_rowcompare_cmpresult and expands the explanation of firstchangingattnum, NULLs, and mixed ASC/DESC attributes 7d9cd2df5f.

  • Chao Lisaw an earlier versiontrailerChao Li reported passing tests and suggested comment and comparison optimizations for #1 in #2, corrected his proposed condition in #3, and did not review the subsequent committed loop rewrite.

Credits across 1 commit

Author
Peter Geoghegan1
Reviewer
Chao Li1
Committer
Peter Geoghegan1