model-writtenrun 3674 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- James Coleman reported an apparent PostgreSQL 11-to-12 change rejecting relation-qualified ON CONFLICT DO UPDATE targets and requested clearer diagnostics or permission to use that syntax #1; David G. Johnston pointed out that both versions already documented the restriction #2.
- David G. Johnston initially suggested a bug had been fixed #4, but Tom Lane reproduced the rejection on every branch back to PostgreSQL 9.5 #5; James then failed to reproduce his reported behavior on an official PostgreSQL 11.15 image and suspected his 2ndQuadrant distribution instead #6.
- James redirected the discussion toward improving the confusing undefined-column error #6, and Tom recommended issuing a hint only when the invalid target name matched the relation name and was field-qualified #7.
- James submitted a patch implementing that condition using the relation's alias and testing qualified and unqualified targets with matching and nonmatching names, while asking whether ordinary UPDATE tests should also be added #8.
- Tom committed the patch as 58447e3189, preserving its behavior while simplifying conditional hint generation, polishing the wording, and reducing the tests to cover ordinary UPDATE with an alias and ON CONFLICT without one; he explained these edits in #9.
- James accepted the implementation and test changes and thanked Tom for reviewing and committing, leaving the work complete with no outstanding revision requested #10.