model-writtenrun 9100 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alastair McKinley reported that a SQL function using a parameter in a window frame worked when called in the select list but failed in FROM, and Andrew Gierth traced the difference to function inlining in #1 and #2.
- Tom Lane identified missing windowClause traversal in query_tree_walker and query_tree_mutator in #3; Andrew's initial patch in #4 added traversal and adjusted dependency and collation processing.
- Tom warned that exposing additional node types could break third-party callers in backpatched releases in #5, prompting Andrew's reworked patch in #7 to process frame offsets directly by default, offer QTW_EXAMINE_SORTGROUP for broader traversal, and test both collation assignment and function inlining.
- Tom questioned the omission of groupingSets and rowMarks in #8; Andrew explained that their numeric references require Query-level context in #9, and Tom accepted that reasoning in #10.
- Testing a proposed utilityStmt assertion exposed legitimate NOTIFY rule actions in #11; after discussion with Tom, Andrew abandoned the assertion because fixing one caller left another dependency-processing path affected, choosing explanatory comments instead in #13 and the final patch in #15.
- Tom requested pgindent formatting and questioned a comment in #16; Andrew accepted the formatting request in #17, and Tom withdrew the comment objection in the thread's final message, #18, leaving no outstanding review objection.
- Andrew subsequently committed #15 with only whitespace changes as b7a1c5539a and backpatched the fix across supported branches; broader utility-statement handling remained separate work.