Re: Error: Operator does not exist: "char"=integer

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Error: Operator does not exist: "char"=integer
Дата
Msg-id 494A29AD.5000003@iol.ie
обсуждение исходный текст
Ответ на Error: Operator does not exist: "char"=integer  (novnov <novnovice@gmail.com>)
Ответы Re: Error: Operator does not exist: "char"=integer
Список pgsql-general
On 18/12/2008 05:26, novnov wrote:
> I have restored a postgres 8.2.4-1 db onto a postgres 8.3.1-1 server, and
> when I try to work with a table I get this error:
>
> Error: Operator does not exist: "char" = integer

A lot of previously automatic casts were removed in the 8.3 series -
this is possibly one of them.

You now need to cast explicitly in such cases, e.g.

  select '5'::integer;

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: SQL plan in functions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Other queries locked out during long insert