BUG #3661: Missing equality comparator: string = integer

From: "David Bachmann" <david(dot)bachmann(at)ersystems(dot)ch>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3661: Missing equality comparator: string = integer
Date: 2007-10-09 15:49:28
Message-ID: 200710091549.l99FnSFu028067@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3661
Logged by: David Bachmann
Email address: david(dot)bachmann(at)ersystems(dot)ch
PostgreSQL version: 8.3-beta1
Operating system: Windows XP
Description: Missing equality comparator: string = integer
Details:

This does not function any more under PG 8.3-beta1:

select '5'::varchar = 5;
ERROR: operator does not exist: character varying = integer

select '5'::char = 5;
ERROR: operator does not exist: character = integer

Note that this still works:
select '5' = 5;

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robins Tharakan 2007-10-09 15:49:53 BUG #3662: Seems that more than one run of a functions causes an error
Previous Message blay bloo 2007-10-09 15:30:06 plpythonu execute - create function bug?