Re: Regression in 8.3?

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Regression in 8.3?
Дата
Msg-id B47D9EF2-7ED3-4ECE-90D3-0A394ACAE16A@seespotcode.net
обсуждение исходный текст
Ответ на Regression in 8.3?  (Patric Bechtel <patric.bechtel@gmail.com>)
Список pgsql-general
On Nov 11, 2007, at 18:46 , Patric Bechtel wrote:

> Given a table bla(a bigint,b text)
>
> select * from bla where a like '8%'
>
> works in <=8.2, but not on 8.3
>
> Same happens with date columns, too.

The server is now more strict and has fewer implicit type casts in
8.3, so this is working as intended. If you want to treat a bigint or
a date as a string, explicitly cast it.

Michael Glaesemann
grzm seespotcode net



Вложения

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

Предыдущее
От: Patric Bechtel
Дата:
Сообщение: Regression in 8.3?
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: pg_tables and temp tables