Re: like performance w/o wildcards.

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: like performance w/o wildcards.
Date: 2003-08-04 16:59:48
Message-ID: 3F2E9104.9070309@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)selectacast(dot)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?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-08-04 17:01:23 Re: like performance w/o wildcards.
Previous Message scott.marlowe 2003-08-04 16:42:41 Re: plPHP -- sort of an announcement.. but not commercial