Fix oversight in recent rowtype-handling improvements: transformTargetList

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f0cc132621cc9ee53054684112fca0ae3780b48d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-06-19T18:19:56Z
Releases: 8.0.0
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

PathChange+/−
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