On Tue, Nov 16, 2010 at 00:18, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Why? It's an anonymous type, you shouldn't care about names.
> If you do, make a real named rowtype.
If so, we cannot extract any fields in an anonymous type, right?
We cannot lookup fields with (an anonymous type).name because
the fields have no names.
=# SELECT (ROW(123, 'ABC', NULL)).*;
ERROR: record type has not been registered
--
Itagaki Takahiro