model-writtenrun 3649 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Richard Guo proposed replacing Unique with LIMIT 1 in partial DISTINCT paths when all DISTINCT pathkeys are redundant, attaching planner changes and regression coverage in #1.
- David Rowley explained that a serial LIMIT would usually be cheaper, observed that the test predicate matched no rows, and nevertheless considered the optimization worthwhile for highly selective predicates in #2.
- David Rowley reported that his experiments found no nonempty-result case choosing the partial LIMIT path, so he removed the empty-result assertion while retaining EXPLAIN coverage in #3.
- David Rowley landed #1 as b588cad688 with expanded comments and small regression-test edits, announcing the push in #3.
- Richard Guo acknowledged the completed commit in #4, leaving no outstanding work identified in the thread.