Re: ERROR: type "i" does not exist

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: ERROR: type "i" does not exist
Дата
Msg-id 20061115022442.GA42959@winnie.fuhr.org
обсуждение исходный текст
Ответ на ERROR: type "i" does not exist  (Don Laurine <Donald.Laurine@noaa.gov>)
Список pgsql-general
On Tue, Nov 14, 2006 at 01:20:38PM -0800, Don Laurine wrote:
> In the postgres log I am getting the following:
>
> ERROR: type "i" does not exist
>
> What is the cause of this error and/or how do I track it down?

One possibility is that a query is  trying to cast a value to the
"i" type, either intentionally or due to a syntax error.  Maybe the
word "integer" is being truncated or maybe bit of code from a
language other than SQL is sneaking into a query.  Example:

test=> SELECT 1::i;
ERROR:  type "i" does not exist

See "Error Reporting and Logging" in the documentation for information
about logging.  One way to identify the offending query would be
to set log_min_error_statement = error in postgresql.conf and reload
the server.

http://www.postgresql.org/docs/8.1/interactive/runtime-config-logging.html

--
Michael Fuhr

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

Предыдущее
От: Desmond Coughlan
Дата:
Сообщение: RE : Re: RE : Re: database design ...
Следующее
От: Shane Ambler
Дата:
Сообщение: Re: RE : Re: database design ...