Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group