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

From Joshua D. Drake
Subject Re: proposal for 8.4: PL/pgSQL - statement CASE
Date
Msg-id 478F7CF4.3040404@commandprompt.com
Whole thread Raw
In response to Re: proposal for 8.4: PL/pgSQL - statement CASE  (Josh Berkus <josh@agliodbs.com>)
Responses Re: proposal for 8.4: PL/pgSQL - statement CASE  (Andrew Dunstan <andrew@dunslane.net>)
Re: proposal for 8.4: PL/pgSQL - statement CASE  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE
Next
From: Andrew Dunstan
Date:
Subject: Re: proposal for 8.4: PL/pgSQL - statement CASE