Re: feature request ?

Поиск
Список
Период
Сортировка
От sad
Тема Re: feature request ?
Дата
Msg-id 200406241655.26065.sad@bankir.ru
обсуждение исходный текст
Ответ на Re: feature request ?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: feature request ?
Список pgsql-sql
>  If you were to add a NULL block you'd have to deal with things
> like, if you only have a then and else, do you run the else on NULL or do
> you do nothing?  If you do nothing, what if you want the null and else to
> be the same, do you add another way to specify that?  If you do the else,
> then the else stops making sense since it's sometimes false and sometimes
> not true.

it is only syntax problem.
really we have more than one way to continue execution if one block is skipped
so your are free to define IF's behavior any way, particularly the way it is
defined now.

two-blocks IF is oviously enough to code ANY algorythm
but the three-blocks IF is more adequate to tri-valued BOOL





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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: feature request ?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: feature request ?