Re: All function parameters become NULL if one is?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: All function parameters become NULL if one is?
Дата
Msg-id
Pine.LNX.4.21.0009171644160.576-100000@peter
Ответ на
Список
Дерево обсуждения
All function parameters become NULL if one is? "Joel Burton" <jburton@scw.org>
Re: All function parameters become NULL if one is? Peter Eisentraut <peter_e@gmx.net>
Joel Burton writes:

> I have a function that takes two text parameters. If both of these 
> are non-null, everything works fine. However, if one of these two 
> parameters is null and one is not, the function receives both as null.

Worse, no matter what the function does, the return value is also null.

> Is this intentional? Is there a way around this? 

Wait for 7.1.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

В списке pgsql-general по дате отправления
От: Alfred Perlstein
Дата:
От: John Draper
Дата:
FAQ