Re: Strange "Table has type character varying, but query expects character varying" errors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ümit Öztosun <umit(at)ly(dot)com(dot)tr>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Strange "Table has type character varying, but query expects character varying" errors
Date: 2007-02-06 16:36:49
Message-ID: 13585.1170779809@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"=?ISO-8859-1?Q?=DCmit_=D6ztosun?=" <umit(at)ly(dot)com(dot)tr> writes:
> Today two of our production servers developed the following error(s):
> ERROR: attribute X(semi-random number here) has wrong type
> DETAIL: Table has type character varying, but query expects character varying.

> They were running PostgreSQL 8.1.4 on Ubuntu Dapper, dual-core Intel Machines.

No they're not ... at least not anything I would label 8.1.4. You
should have a word with Ubuntu about their labeling practices.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ümit Öztosun 2007-02-06 16:54:53 Re: Strange "Table has type character varying, but query expects character varying" errors
Previous Message Tom Lane 2007-02-06 16:25:59 Re: BUG #2971: 8.1.7/8.2.2 break constraint checking for 'update'