model-writtenrun 6900 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan proposed clearing SK_SEARCHARRAY when preprocessing reduces an inequality array to a scalar extremal element, eliminating misleading array markings on scalar keys #1.
- The attached patch established that surviving SK_SEARCHARRAY keys use the equality strategy, allowing downstream checks to rely on the flag and assertions #1.
- Although presented as refactoring, the change also enabled the least-significant-key precheck optimization for inequalities originally supplied as arrays #1.
- Peter Geoghegan committed the patch from #1 with an additional redundant-condition removal and comment and assertion adjustments as 1d45c5da3a; the earlier discussion in thread #53049 supplied the idea, but this thread supplied the matching implementation.
- The supplied thread ends with the original proposal #1, without review replies or further submissions; its proposed change subsequently landed in 1d45c5da3a.