Re: Can LIKE under utf8 use INDEXes? - Mailing list pgsql-general

From Greg Stark
Subject Re: Can LIKE under utf8 use INDEXes?
Date
Msg-id 407d949e0907221137o3689cd55gd6040a1d0ccdd052@mail.gmail.com
Whole thread Raw
In response to Can LIKE under utf8 use INDEXes?  (Robert James <srobertjames@gmail.com>)
List pgsql-general
On Wed, Jul 22, 2009 at 5:57 PM, Robert James<srobertjames@gmail.com> wrote:
> Hi.  I'm confused about the behavior of LIKE under utf8 locale.
> Accoding to the docs (
> http://www.postgresql.org/docs/8.2/interactive/locale.html - excerpted
> below), it seems that LIKE ignores locale and hence can't use indexes.  Yet,
> EXPLAIN clearly shows it using indexes.

Are you sure you're using 8.2?

--
greg
http://mit.edu/~gsstark/resume.pdf

pgsql-general by date:

Previous
From: Denis BUCHER
Date:
Subject: Best way to import data in postgresl (not "COPY")
Next
From: Jeff Davis
Date:
Subject: Re: Can LIKE under utf8 use INDEXes?