Tom Lane wrote:

You'd have to cast the NULL to some specific array type.

regards, tom lane
Unfortunately I can't do that (well, in fact it would be pretty inconvenient) because the function is called from other plpgsql function and I cannot be sure if it will be called with NULL or not. Anyway I seem to resolved the problem by writing another doing-nothing-at-all function with the same name and "unknown' argument type.

regards, Viatcheslav


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org/

Reply via email to