Re: a bug in plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a bug in plpgsql
Дата
Msg-id 28428.1099597989@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: a bug in plpgsql  (Jaime Casanova <systemguards@yahoo.com>)
Ответы Re: a bug in plpgsql  (Jaime Casanova <systemguards@yahoo.com>)
Список pgsql-bugs
Jaime Casanova <systemguards@yahoo.com> writes:
>  --- Tom Lane <tgl@sss.pgh.pa.us> escribió:
>> if/then/else is a statement, not a component of an
>> expression.
>> CASE is an expression construct, not a statement.  I
>> think
>> you need to rewrite the CASE as an if/then/elsif
>> statement.

> I will try but this work in v7.4.2 that's why i think
> is an error.

It most certainly did not work in 7.4.2, or any other PG release.
plpgsql doesn't have a CASE statement.

            regards, tom lane

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: a bug in plpgsql
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: a bug in plpgsql