model-writtenrun 2480 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Christopher Inokuchi reported that two window functions with identical PARTITION BY and ORDER BY clauses produced separate WindowAgg nodes, apparently contradicting the documentation’s promise of a single pass #1.
- Greg Sabino Mullane demonstrated that differing frame clauses produce separate nodes and suggested documenting frame equivalence #2, while Christopher questioned whether the documented focus on partitioning and ordering was intentional #3.
- Tom Lane explained that the SQL guarantee concerns identical input ordering without intervening sorts, not a single WindowAgg node, and considered combining distinct frames unlikely to justify its complexity #4; Christopher suggested explicitly describing sorting or ordering #5.
- David G. Johnston submitted a broad documentation expansion with an EXPLAIN example #6, but Tom rejected that detail for this section and proposed a short replacement promising the same input-row ordering #7.
- David accepted the shorter approach, deferred broader explanations to a separate thread, and questioned “syntactically” #8; Tom agreed to remove that word while retaining explicit clause names #9, and David approved #10.
- Tom committed the agreed inline wording as 9f87e2593f, with backpatches through PostgreSQL 13, and confirmed completion #11; the attached expansion did not land.