Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> On Fri, Feb 20, 2009 at 3:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Use "select * from ..." instead.
> Yeah...I was thinking maybe that shouldn't be required:
If you allow both interpretations then you create a syntactic ambiguity
(at least for the case of single-column composite types). We have
historically allowed both in SQL functions, but I think that's a design
error that shouldn't be repeated in other PLs.
regards, tom lane