model-writtenrun 8048 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed select_common_typmod() to consolidate duplicated parser logic alongside select_common_type() and select_common_collation(), and attached the implementation #1.
- Peter also identified a possible VALUES typmod-selection bug involving differing input types; the patch checks type compatibility and adds typmod unification for hypothetical-set aggregate arguments #1.
- Heikki Linnakangas reviewed both behaviors but could not devise test cases, suggesting that the VALUES case might require types sharing a category but using incompatible typmod formats #2.
- Heikki requested explicit documentation of the aggregate enhancement #2, and Peter incorporated that request into f893e68d76, which otherwise differs from #1 only in comment wording.
- Peter confirmed the commit in the final reply, leaving the entire submitted patch landed with no outstanding revision requested #3.