model-writtenrun 6855 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Henson Choi reported that bare target aliases named "set" make deparsed UPDATE, DELETE and MERGE statements fail to reload, and supplied tests plus a targeted AS insertion fix in #1.
- Tom Lane considered the special-case solution unnecessarily complicated and insufficiently future-proof, recommending that these statements always emit AS before target aliases in #2.
- Henson adopted that recommendation, simplified the regression tests, and reported successful testing on master and supported back branches in #3, the thread's final message.
- Tom committed the revised alias-printing code and existing expected-output adjustments from #3 in 0497318e44, combining them with the separate SubLink parenthesization fix from thread #254175.
- The alias fix landed with backports through PostgreSQL 14, but the new alias-specific regression tests from #3 were omitted from 0497318e44, with no explanation in the supplied discussion.