NULLs in function arguments

Started by K. Ari Krupnikovalmost 26 years ago1 messagesgeneral
Jump to latest

I have a PL/pgSQL function that takes two arguments, the first of which
may be null. When the first argument is NULL, the second is set to NULL,
even though a valid value is passed. Is this a documented feature, or
did I miss something?

I can't use overloading, and the order of arguments is important - it is
a site-wide policy.

--
K. Ari Krupnikov

DBDOM - bridging XML and relational databases
http://www.iter.co.il