model-writtenrun 8608 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nikita Glukhov reported that selectivity estimation fails when jsonpath operators return NULL, and also demonstrated an incorrect estimate for a negated condition in #1.
- Nikita supplied two independent alternatives in #1: make jsonpath operators return false instead of NULL, or introduce a NULL-tolerant function-call helper in selectivity estimation.
- Tom Lane favored supporting NULL results in matchingsel(), recommended direct function invocation instead of another helper API, and opposed broadening the work to unreported problems after feature freeze in #2.
- 1c455078b0 landed the selectivity-estimation alternative from #1, reworked to invoke operators directly and initialize call structures outside loops in five functions.
- The jsonpath behavior change from #1 was left out; 1c455078b0 also explicitly deferred similar changes to ineq_histogram_selectivity and get_variable_range, and the thread contains no subsequent review or landing announcement.