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

From Richard Huxton
Subject Re: like performance w/o wildcards.
Date
Msg-id 200308040925.01203.dev@archonet.com
Whole thread Raw
In response to Re: like performance w/o wildcards.  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: like performance w/o wildcards.  (Joseph Shraibman <jks@selectacast.net>)
List pgsql-general
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.
--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: "Ivar"
Date:
Subject: Is there any place to get 7.4 win binaries ?
Next
From: "Aspire"
Date:
Subject: Re: plPHP -- sort of an announcement.. but not commercial