"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2008/11/13 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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