From: Tom Lane <tgl@sss.pgh.pa.us>
To: chard <chard@hindang.msuiit.edu.ph>
Cc: pgsql-sql@postgresql.org
Subject: Re: help
Date: Mon, 12 Mar 2001 18:21:40 -0500
Message-ID: <7552.984439300@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0103080844360.1788-100000@hindang.msuiit.edu.ph>
References: <Pine.LNX.4.21.0103080844360.1788-100000@hindang.msuiit.edu.ph>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, chard@hindang.msuiit.edu.ph
Subject: Re: help
In-Reply-To: <7552.984439300@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox