Re: BUG #4478: = operator in connection with CASE looks like loose some functionality (bug or feature?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4478: = operator in connection with CASE looks like loose some functionality (bug or feature?)
Дата
Msg-id 9231.1224623326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4478: = operator in connection with CASE looks like loose some functionality (bug or feature?)  ("Robert 'BoBsoN' Partyka" <bobson@bobson.pl>)
Список pgsql-bugs
"Robert 'BoBsoN' Partyka" <bobson@bobson.pl> writes:
> In construction "... ind = case ..." automagic conversion from text to
> integer is not done anymore in 8.3.* - you must cast it manually.

> Is this bug or feature? (for me it looks like bug).

It's intentional.

> If this is feature then I think it should be documented in manual and
> probably in some migration documentation.

See the first item under the 8.3 migration caveats:
"Non-character data types are no longer automatically cast to TEXT"
http://www.postgresql.org/docs/8.3/static/release-8-3.html

            regards, tom lane

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

Предыдущее
От: "Joshua Tolley"
Дата:
Сообщение: Re: BUG #4482: Segfault error 4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #4481: Big text insert/update using functions failed