Re: is this a bug or I am blind?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com>, Mage <mage(at)mage(dot)hu>, pgsql-general(at)postgresql(dot)org
Subject: Re: is this a bug or I am blind?
Date: 2005-12-15 15:22:34
Message-ID: 14291.1134660154@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Richard Huxton <dev(at)archonet(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karl O. Pinc 2005-12-15 15:24:55 "gmake check" fails with 8.1.1
Previous Message Tom Lane 2005-12-15 15:20:15 Re: is this a bug or I am blind?