Re: Polymorphic functions' weird behavior - Mailing list pgsql-general

From Viatcheslav Kalinin
Subject Re: Polymorphic functions' weird behavior
Date
Msg-id 46B07A92.9090002@ipcb.net
Whole thread Raw
In response to Re: Polymorphic functions' weird behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Hannes Dorbath
Date:
Subject: Re: Linux distro
Next
From: Kenneth Downs
Date:
Subject: Re: Linux distro