From: Bruno Wolff III <bruno@wolff.to>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: sad <sad@bankir.ru>
Cc: Gregory S. Williamson <gsw@globexplorer.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: feature request ?
Date: Thu, 24 Jun 2004 12:43:05 -0500
Message-ID: <20040624174305.GA32506@wolff.to> (raw)
In-Reply-To: <20040624072023.H88508@megazone.bigpanda.com>
References: <71E37EF6B7DCC1499CEA0316A256832801057B7C@loki.wc.globexplorer.net>
<200406241655.26065.sad@bankir.ru>
<20040624065015.Y87012@megazone.bigpanda.com>
<200406241724.14810.sad@bankir.ru>
<20040624072023.H88508@megazone.bigpanda.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bruno@wolff.to, sszabo@megazone.bigpanda.com, sad@bankir.ru, gsw@globexplorer.com
Subject: Re: feature request ?
In-Reply-To: <20040624174305.GA32506@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox