Re: is this a bug or I am blind? - Mailing list pgsql-general

From Tom Lane
Subject Re: is this a bug or I am blind?
Date
Msg-id 14291.1134660154@sss.pgh.pa.us
Whole thread Raw
In response to Re: is this a bug or I am blind?  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Richard Huxton <dev@archonet.com> writes:
> But "like" without any wildcards should be the same as "=", but it isn't
> in the original post.

I'm too lazy to go look at the code right now, but I think that the
reduction of "x LIKE constant-pattern" to "x = constant-pattern" is
part of the LIKE index optimization code, which means it'd only get
done in C locale.  We're missing a bet there perhaps.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: is this a bug or I am blind?
Next
From: Devrim GUNDUZ
Date:
Subject: Re: "gmake check" fails with 8.1.1