Pavel Stehule wrote:
> if you can in plpgsql 7.2.x return array of known type, you can replace
> anyarray and anyelement like varchar[], varchar. But I don't know if it
> 7.2 supported.
PL/pgSQL array support in anything earlier than 7.4 is pretty weak. I
would strongly recommend upgrading to 7.4 if arrays are important to you.
Joe