model-writtenrun 67 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Henson Choi reported that AT TIME ZONE, AT LOCAL, OVERLAPS and IS NORMALIZED could produce unrestorable view definitions when used in FROM, and proposed context-sensitive function classification plus regression tests to restore CAST wrappers without changing key-expression output #1.
- Prashant Chinnam validated the function-OID list, successful view recreation and dump/restore, and passing installcheck-world tests, endorsing the approach while requesting a timetz regression case #2.
- Henson accepted that suggestion #3 and submitted a revision adding timetz and two-function ROWS FROM tests while leaving the implementation unchanged #4.
- The revised series #4 landed with committer edits as a44a4f1b6d, retaining the OID-based fix but removing the context parameter, revising comments, and retaining only the IS NORMALIZED regression addition in the supplied commit diff.
- Tom Lane closed the thread by confirming the push and explaining that looks_like_function() should consistently identify func_expr_windowless syntax; he considered occasional extra parentheses in key expressions too minor to justify complicating its API #5.