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

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

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?

Joshua D. Drake

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-01-17 16:10:47 Re: [HACKERS] SSL over Unix-domain sockets
Previous Message Andrew Dunstan 2008-01-17 16:03:03 Re: proposal for 8.4: PL/pgSQL - statement CASE