"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> 2008/11/13 Tom Lane <tgl@sss.pgh.pa.us>:
>> My example was done in 8.3.
> I tested it with error:
> postgres=# select array(select row(a,b) from f);
> ERROR: could not find array type for datatype record
You left out the cast to a named rowtype --- that's not optional,
unfortunately.
regards, tom lane