The following bug has been logged online:

Bug reference:      4055
Logged by:          Hugo Rafael Lesme Marquez
Email address:      [EMAIL PROTECTED]
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

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to