model-writtenrun 1683 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kuntal Ghosh reported that partitionwise aggregation could supply an upper relation with an unset row estimate, triggering an assertion in generate_orderedappend_paths(), and proposed clamping the estimate in #1; his attached fix and regression test followed in #2.
- Richard Guo argued that the fraction should use cheapest_total->rows instead in #3, then supplied a revised fix that also suppressed duplicate ordered append paths and corrected stale comments in #4.
- Richard split the assertion fix from the duplicate-path cleanup and added a regression test in #5, seeking to backpatch the assertion fix before the code freeze while leaving the cleanup's backpatch status open.
- Kuntal approved the assertion fix in #6, while Andrei Lepikhov questioned row-estimate behavior for parameterized paths and upper relations and supported the duplicate-path optimization in #7.
- Alexander Korotkov proposed moving tuple-fraction conversion into get_cheapest_fractional_path_for_pathkeys() and passing RelOptInfo in #8, but Richard objected to the parameter semantics, possible repeated conversion, and inaccurate documentation in #9.
- Richard announced his intention to land the split assertion fix in #10, Kuntal approved in #11, and Alexander agreed to proceed because backpatches should avoid function-signature changes in #12.
- The two patches from #5 landed with exact matching diffs as c1777f2d6d and 0ea5eee376; Richard confirmed in #13 that the assertion fix was backpatched to PostgreSQL 18, while the duplicate-path cleanup remained master-only because there were no field complaints.
- At the thread's close in #13, both split fixes had landed, Alexander's API refactor remained uncommitted with Richard's semantic and documentation concerns unresolved, and a cleanup backpatch was deferred unless later evidence justified it.