Search Postgresql Archives

plperl function to return nulls

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

 




I can't find a reference in the docs for this...

I have a plperl function returning an int. The int is returned as the
result of a system call.

It is set to return a null if one of the inputs is null, but I can't see
how to return a null if the result is indeterminate. The function
currently returns a 0 instead.

How do I stick an if in the function to return a null where appropriate?


Thanks,

  Brent Wood

---------------------------(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