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>)
Список pgsql-general
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
Дата:
Сообщение: Re: How do I add a column to an existing table.
Следующее
От: John Draper
Дата:
Сообщение: Re: How do I add a column to an existing table.