Re: test strange behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: test strange behavior
Дата
Msg-id 8279.1320616504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на test strange behavior  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Список pgsql-novice
"Jean-Yves F. Barbier" <12ukwn@gmail.com> writes:
> Hi list,
> I've a function that test a boolean parm, as:
> ....
> CASE $3
> WHEN TRUE THEN
>     blabla
> WHEN FALSE THEN
>     proutprout
> ELSE
>     gadugadu
> END CASE;
> ....

> AFAI understand, the ELSE case would normally be triggered with a NULL
> but it isn't ('WHEN NULL THEN' also don't work).

Works for me ... maybe you need to show a more complete example,
so that we can see where the problem really is?

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: extension installation PB
Следующее
От: Tom Lane
Дата:
Сообщение: Re: test strange behavior