Re: feature request ? - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: feature request ?
Date
Msg-id 20040624174305.GA32506@wolff.to
Whole thread Raw
In response to Re: feature request ?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: feature request ?
Re: feature request ?
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: feature request ?
Next
From: Radu-Adrian Popescu
Date:
Subject: Re: feature request ?