From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Bruno Wolff III <bruno@wolff.to>
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 11:41:42 -0700 (PDT)
Message-ID: <20040624114027.X95843@megazone.bigpanda.com> (raw)
In-Reply-To: <20040624174305.GA32506@wolff.to>
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>
<20040624174305.GA32506@wolff.to>
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. :)
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: sszabo@megazone.bigpanda.com, bruno@wolff.to, sad@bankir.ru, gsw@globexplorer.com
Subject: Re: feature request ?
In-Reply-To: <20040624114027.X95843@megazone.bigpanda.com>
* 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