Re: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1 - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1
Date
Msg-id 20080324231801.GO5484@alvh.no-ip.org
Whole thread Raw
In response to BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1  ("Hugo Rafael Lesme Marquez" <hugolesme@hotmail.com>)
List pgsql-bugs
Hugo Rafael Lesme Marquez wrote:

> 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?

Change the LIKE to = (equal sign).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "Hugo Rafael Lesme Marquez"
Date:
Subject: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #3645: regular expression back references seem broken