model-writtenrun 9052 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed fixing anonymous-row field selection after an unnamed pgconf.eu attendee reported that expressions such as (row(1, 2.0)).f1 failed despite having predictable field names #1.
- Tom Lane explained that RowExpr lacks the typmod needed to locate its record descriptor, so his patch constructs that descriptor directly in get_expr_result_type(); he discarded parser fast paths because the corner cases did not justify extra code and subquery cases still required the general solution #1.
- The submitted patch includes regression tests for direct field selection, wildcard expansion, subquery-produced rows, and nonexistent fields, while leaving named composite types to the existing handling #1.
- Pavel Stehule supported the more consistent behavior and agreed that the feature did not need backpatching, but provided no code review or patch-testing evidence; the thread ended with the proposal awaiting commitment #2.
- Tom Lane committed the submitted patch unchanged the following day as 8b7a0f1d11, completing the work proposed in #1.