Re: proposal for 8.4: PL/pgSQL - statement CASE

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE
Date: 2008-01-17 16:21:55
Message-ID: 162867790801170821l740c4506n132581f2b95a9d96@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17/01/2008, Joshua D. Drake <jd(at)commandprompt(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-17 16:31:40 Re: [HACKERS] SSL over Unix-domain sockets
Previous Message Pavel Stehule 2008-01-17 16:19:12 Re: proposal for 8.4: PL/pgSQL - statement CASE