| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | chard <chard(at)hindang(dot)msuiit(dot)edu(dot)ph> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: help |
| Date: | 2001-03-12 23:21:40 |
| Message-ID: | 7552.984439300@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
chard <chard(at)hindang(dot)msuiit(dot)edu(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-03-12 23:26:19 | Re: Use of the LIMIT clause ? |
| Previous Message | Tom Lane | 2001-03-12 23:20:50 | Re: I need an aggregate with 2 parameters |