| От | Tom Lane |
|---|---|
| Тема | Re: help |
| Дата | |
| Msg-id | 7552.984439300@sss.pgh.pa.us обсуждение |
| Ответ на | help (chard <chard@hindang.msuiit.edu.ph>) |
| Список | pgsql-sql |
chard <chard@hindang.msuiit.edu.ph> writes:
> i got an error like this when i do an insert to a table, my table dont
> have bpchar type of field.
> ERROR: Unable to identify an operator '=' for types 'bpchar' and 'varchar'
> You will have to retype this query using an explicit cast
> it seems 1 field in my table has bpchar type, but if i view the table
> definition all are varchar and numeric.
I'll bet you have a foreign-key constraint between a varchar field and
a bpchar field in another table.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера