Re: Strange Problem As Type Casting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange Problem As Type Casting
Дата
Msg-id 2205.1004803262@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange Problem As Type Casting  (Bhuvan A <bhuvansql@yahoo.com>)
Список pgsql-sql
Bhuvan A <bhuvansql@yahoo.com> writes:
> test=> UPDATE users set user_id=1 ,login_id='admin' where user_id='1346';
> ERROR:  Unable to identify an operator '=' for types 'text' and 'int4'
>         You will have to retype this query using an explicit cast

Got any triggers, rules, or foreign keys for this table?  The error is
not necessarily in the command you typed, it could be in subsidiary
processing.
        regards, tom lane


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

Предыдущее
От: "Edward Grabczewski"
Дата:
Сообщение: Re: SQL FUNCTION return type on INSERT
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: SQL FUNCTION return type on INSERT