"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2008/6/4 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> Huh? That's completely nonsensical ... where will you determine the
>> type of the array, if you don't have a sample element?
> it is nonsens in current postgres. But null array is castable to anyarray no?
If you mean an array of nulls, it still has to have an element type.
regards, tom lane