Re: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Hugo Rafael Lesme Marquez <hugolesme(at)hotmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1
Date: 2008-03-24 23:18:01
Message-ID: 20080324231801.GO5484@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2008-03-25 00:00:35 Re: BUG #3645: regular expression back references seem broken
Previous Message Hugo Rafael Lesme Marquez 2008-03-24 22:47:34 BUG #4055: Using Like in PostgreSQL 8.2.7 and 8.3.1