Re: like performance w/o wildcards.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aspire 2003-08-04 11:57:37 Re: plPHP -- sort of an announcement.. but not commercial
Previous Message Ivar 2003-08-04 07:49:42 Is there any place to get 7.4 win binaries ?