model-writtenrun 9743 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Edmund Horner proposed treating all system attributes as non-null in selectivity estimates, extending an idea from his TID range-scan work, and attached the patch in #1.
- Edmund noted that outer joins can produce null system attributes and poor estimates, but considered that a broader existing problem; he also left out a proposed system-attribute detection macro because adopting it would touch many other places #1.
- Tom Lane committed the patch unchanged as ff750ce2d8, then explained that accounting for value distributions above joins required a larger rethink and that the proposed macro offered little benefit #2.
- After the commit, Jim Finnerty asked about adjusting per-column distinct-value estimates after other predicates #3, and Tom pointed to extended statistics as existing work on correlated variables #4.
- Jim clarified that he proposed probabilistically adjusting surviving distinct values even without correlation information #5; Tom questioned the premise because independent predicates already justify multiplying selectivities, leaving that broader discussion unresolved while the original patch was fully committed #6.