Re: 'like' refuses to use an index???

From: Dima Tkach <dmitry(at)openratings(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: 'like' refuses to use an index???
Date: 2003-12-30 21:36:40
Message-ID: 3FF1EFE8.80406@openratings.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>Dima Tkach <dmitry(at)openratings(dot)com> writes:
>
>
>>Does anyone have any idea what could be wrong here?
>>
>>
>
>You didn't initdb in C locale ...
>
> regards, tom lane
>
>
Ouch!
Is there any way to fix that without recreating the database?
Also, are you sure about this? Because the text comparison operators do
seem to work fine...

name like 'blah%' does not work, but name >= 'blah' and name < 'blai'
*does*... aren't these locale-dependent too?

Thanks a lot for your help!

Dima

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Nolan 2003-12-30 21:40:39 Re: 'like' refuses to use an index???
Previous Message Keith C. Perry 2003-12-30 21:21:26 Re: 'like' refuses to use an index???