Re: like performance w/o wildcards. - Mailing list pgsql-general

From Joseph Shraibman
Subject Re: like performance w/o wildcards.
Date
Msg-id 3F2E9104.9070309@selectacast.net
Whole thread Raw
In response to Re: like performance w/o wildcards.  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Richard Huxton wrote:
> On Monday 04 August 2003 04:29, Joseph Shraibman wrote:
>
>>Hmm.  I didn't work for me.  I'll try and figure this out.
>>
>>Tom Lane wrote:
>>
>>>Joseph Shraibman <jks@selectacast.net> writes:
>>>
>>>>I notice in 7.3.3 the planner can't tell when a LIKE has no wildcards
>>>>and is in reality an '='.  Is this an easy change to make?
>
>
> Check your locale/encoding - you probably want "C" or similar for LIKE to use
> an index.

I'm using latin1.  Why should it make a difference?


pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: plPHP -- sort of an announcement.. but not commercial
Next
From: Bruce Momjian
Date:
Subject: Re: like performance w/o wildcards.