Re: feature request ?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: feature request ?
Дата
Msg-id 20040624114027.X95843@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: feature request ?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
On Thu, 24 Jun 2004, Bruno Wolff III wrote:

> On Thu, Jun 24, 2004 at 07:34:18 -0700,
>   Stephan Szabo <sszabo@megazone.bigpanda.com> wrote:
> >
> > I was thinking that something like Cs switch might work. There's still a
> > question of the keywords because I don't like reusing case, but maybe
> > something of the general form:
> >  case foo
> >   is true
> >   is false
> >   is null
>
> There already is a syntax like this. You can do:
> CASE boolean_expression
>   WHEN TRUE THEN whatever
>   WHEN FALSE THEN whatever
>   ELSE whatever
> END

True, but I think that mostly suffers from similar understandability
problems. :)



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

Предыдущее
От: Radu-Adrian Popescu
Дата:
Сообщение: Re: feature request ?
Следующее
От: Graham Leggett
Дата:
Сообщение: Normalising an existing table - how?