Re: Null function parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Null function parameters
Дата
Msg-id 27707.967039259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Null function parameters  (tolik@aaanet.ru (Anatoly K. Lasareff))
Список 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 по дате отправления:

Предыдущее
От: Andreas Tille
Дата:
Сообщение: Re: Date of creation and of change
Следующее
От: hlefebvre
Дата:
Сообщение: Re: Re: Date of creation and of change