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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: proposal for 8.4: PL/pgSQL - statement CASE
Дата
Msg-id 478F7C37.6040205@dunslane.net
обсуждение исходный текст
Ответ на Re: proposal for 8.4: PL/pgSQL - statement CASE  (Josh Berkus <josh@agliodbs.com>)
Список 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.
>   

It should be possible to disambiguate them, I believe.

You might find that a CASE statement does a little less than you expect, 
though, if like the rest of PL/pgSQL it follows Ada rules.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: proposal for 8.4: PL/pgSQL - statement CASE
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: proposal for 8.4: PL/pgSQL - statement CASE