Re: explicit cast error

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: explicit cast error
Дата
Msg-id 3D25B885.31B9BF65@fourpalms.org
обсуждение исходный текст
Ответ на explicit cast error  (Lynn David Newton <lynn.newton@cox.net>)
Список pgsql-general
> insert into abc
>   (c2, lab, dlab, bdigits) values
>   (5, 'somestring', 'abc123', 3410999762);
> psql returns to me this message:
> psql: ... ERROR: Unable to identify an operator '=' for types 'int4' and 'text'
>       You will have to retype this query using an explicit cast

Try surrounding the bigint integer with single quotes.

                   - Thomas



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

Предыдущее
От: Josh Jore
Дата:
Сообщение: Re: two primairy key in one table ?
Следующее
От: David A Dickson
Дата:
Сообщение: Re: two primairy key in one table ?