Re: Null function parameters - Mailing list pgsql-sql

From Tom Lane
Subject Re: Null function parameters
Date
Msg-id 27707.967039259@sss.pgh.pa.us
Whole thread Raw
In response to Re: Null function parameters  (tolik@aaanet.ru (Anatoly K. Lasareff))
List pgsql-sql
tolik@aaanet.ru (Anatoly K. Lasareff) writes:
> I'afraid no. My question is: if I pass one null argument into function
> then all other argumens, which are not null, became null inside
> function body.

Yes --- and not only that, but the function's result will be taken to be
null whether you want it to be or not.  This has been gone over *many*
times before on this mail list, so I didn't think I needed to repeat it.

This will be fixed in 7.1 (is already fixed in current sources).
        regards, tom lane


pgsql-sql by date:

Previous
From: Andreas Tille
Date:
Subject: Re: Date of creation and of change
Next
From: hlefebvre
Date:
Subject: Re: Re: Date of creation and of change