Fix oversight in recent rowtype-handling improvements: transformTargetList
Tom Lane <tgl@sss.pgh.pa.us>
Fix oversight in recent rowtype-handling improvements: transformTargetList should recognize 'foo.*' when the star appears in A_Indirection, not only in ColumnRef. This allows 'SELECT something.*' to do what the user expects when the something is an expression yielding a row.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_func.c | modified | +10 −30 |
| src/backend/parser/parse_target.c | modified | +198 −91 |
| src/backend/utils/cache/typcache.c | modified | +3 −3 |