model-writtenrun 9738 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Etsuro Fujita reported that costing sorted foreign paths repeatedly recalculated cached costs when startup cost was zero, including for ordinary ORDER BY queries using local statistics #1.
- His patch allowed both cached startup and total costs to equal zero, covering corner cases where cost settings also make total cost zero #1.
- Fujita supplied the unchanged fix with a commit message and proposed applying it only to HEAD because there were no reports of actual trouble #2.
- The patch from #2 landed unchanged as 449d0a8550.
- Fujita confirmed the push in #3, closing the thread with the fix committed and no independent reviews or outstanding work recorded.