model-writtenrun 2474 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed replacing EXPLAIN's OVER (?) placeholders with complete window specifications by retaining WindowClause inside WindowAgg, while questioning whether planner changes to frame options should be hidden #1.
- David Rowley argued that EXPLAIN should show the frame options actually executed and reported a bogus-varno failure under EXPLAIN VERBOSE; David G. Johnston highlighted repeated specifications and suggested explicitly describing frame optimizations #2 #3.
- Alvaro Herrera proposed named window definitions to reduce repetition, and Tom chose to attach each definition to the WindowAgg implementing it #4 #5.
- Tom's redesign retained WindowAgg's existing execution fields, generated names for unnamed windows, and displayed Window annotations even without VERBOSE so references elsewhere in the plan remained understandable; it also avoided the earlier setrefs problem and continued showing the optimized frame options #6.
- David reviewed the redesign, requested shorter wN names, and objected to separating Filter from Rows Removed by Filter; Tom proposed placing Run Condition immediately after Window, which David accepted, and Alvaro also signaled agreement #7 #8 #9 #10.
- Tom submitted the final revision with the naming and property-order changes plus a regression test, explicitly leaving broader EXPLAIN documentation improvements outside this patch #11.
- David approved the final revision and suggested a smaller name buffer and a test exercising name collisions #12; Tom incorporated those suggestions and expanded the tests in 8b1b342544, then confirmed the patch was pushed, completing the thread's work #13.