Re: proposal for 8.4: PL/pgSQL - statement CASE - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal for 8.4: PL/pgSQL - statement CASE
Date
Msg-id 162867790801170821l740c4506n132581f2b95a9d96@mail.gmail.com
Whole thread Raw
In response to Re: proposal for 8.4: PL/pgSQL - statement CASE  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On 17/01/2008, Joshua D. Drake <jd@commandprompt.com> wrote:
> Josh Berkus wrote:
> > Pavel,
> >
> >> I propose add this statement to PL/pgSQL too.
> >
> > Isn't there a danger of syntactical conflict with the SQL SELECT ... CASE
> > statement?
> >
> > I'd love to have CASE in PL/pgSQL, but I always thought that stood in the way.
> >
>
> Could it be called SWITCH instead?
>
I unlike it. There isn't reason why don't implement ANSI SQL standard construct.

Pavel


> Joshua D. Drake
>


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE
Next
From: "Joshua D. Drake"
Date:
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE