BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1

From: "Hugo Rafael Lesme Marquez" <hugolesme(at)hotmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1
Date: 2008-03-24 22:47:34
Message-ID: 200803242247.m2OMlYqJ014115@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: 4055
Logged by: Hugo Rafael Lesme Marquez
Email address: hugolesme(at)hotmail(dot)com
PostgreSQL version: 8.2.7 and 8.3.1
Operating system: Windows 2003 Server SP2
Description: Using Like in PostgreSQL 8.2.7 and 8.3.1
Details:

Using PostgreSQL Database 8.2.7 and 8.3.1

With PostgreSQL 8.2.7

select * from movimientos where idmovimientos like '178'

returns

178; "2008-02-16"; 4700.00; 2; 1; "2008-02-22 16:39:09.14"; 2; "maricel"; 2

Ok!!!

With PostgreSQL 8.3.1

select * from movimientos where idmovimientos like '178'

returns

ERROR: operator does not exist: bigint ~~ unknown
LINE 1: select * from movimientos where idmovimientos like '178'
^
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts.

********** Error **********

ERROR: operator does not exist: bigint ~~ unknown
SQL state: 42883
Dica: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
Caracter: 47

What can I do to resolve?

Hugo

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2008-03-24 23:18:01 Re: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1
Previous Message Tom Lane 2008-03-24 22:20:07 Re: BUG #4054: Text containing ';' upsets db restores