model-writtenrun 5530 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dagfinn Ilmari Mannsåker proposed exposing prepared statements' result-column types as a regtype[] column named result_types, prompted by an IRC question, and invited suggestions for the column name #1.
- Peter Eisentraut supported the patch but questioned whether domain result types should be converted to their underlying base types to match the wire protocol's RowDescription behavior #3.
- Dagfinn argued for preserving domain types because users can derive the base type from a domain but cannot recover the domain from its base type, and the view does not share the protocol's client-side value-handling constraints #4.
- Peter accepted that reasoning and committed the sole patchset #1 as 84ad713cf8, retaining domain types and adding only declaration-order cleanup and a catalog-version bump #5.
- After landing, Peter reported that prepared statements without result descriptors, such as DML statements, could crash; he said he had fixed this by returning NULL for result_types and adding a regression test #7, and Dagfinn acknowledged the fix in the thread's final message #8.