Re: BUG #3661: Missing equality comparator: string = integer

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: "David Bachmann" <david(dot)bachmann(at)ersystems(dot)ch>
Subject: Re: BUG #3661: Missing equality comparator: string = integer
Date: 2007-10-09 17:04:49
Message-ID: 200710091904.49876.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Am Dienstag, 9. Oktober 2007 schrieb David Bachmann:
> This does not function any more under PG 8.3-beta1:
>
> select '5'::varchar = 5;
> ERROR: operator does not exist: character varying = integer

That is intentional. Fix your application by inserting appropriate explicit
casts.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2007-10-09 17:15:29 Re: BUG #3661: Missing equality comparator: string = integer
Previous Message Hiroshi Saito 2007-10-09 16:17:59 Re: BUG #3663: Installer: Encoding(Server) Select list have not UTF-8 encoding.