Search Postgresql Archives

Re: Polymorphic functions' weird behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux