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

From Bruce Momjian
Subject Re: like performance w/o wildcards.
Date
Msg-id 200308041701.h74H1NI25090@candle.pha.pa.us
Whole thread Raw
In response to like performance w/o wildcards.  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: like performance w/o wildcards.  (Joseph Shraibman <jks@selectacast.net>)
Re: like performance w/o wildcards.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Well, I don't see that = would be significantly faster than LIKE with a
no-wildcard string, so I don't see the value in having LIKE detect
non-whildcard strings.

---------------------------------------------------------------------------

Joseph Shraibman wrote:
> 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?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: like performance w/o wildcards.
Next
From: Joseph Shraibman
Date:
Subject: Re: like performance w/o wildcards.