| От | Tom Lane |
|---|---|
| Тема | Re: Strange Type Mismatch on Insert |
| Дата | |
| Msg-id | 8264.985048013@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Strange Type Mismatch on Insert (Jeff Eckermann <jeckermann@verio.net>) |
| Ответы |
Re: Strange Type Mismatch on Insert
|
| Список | pgsql-general |
Jeff Eckermann <jeckermann@verio.net> writes:
> Can anyone see what is the problem with the following insert?
> gmp=# insert into data (site, gmp_id, item, category, gmp) values
> ('Rochester', 22, 'Design fee', 12, 40000.00);
> ERROR: Unable to identify an operator '=' for types 'text' and 'int4'
Got any foreign keys associated with that table? Check for type
mismatch between referencing and referenced columns. It's a bug
that such problems are not detected when you declare the key
relationship, but right now they're not detected until runtime...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера