Joseph Shraibman wrote:
> Bruce Momjian wrote:
> > 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.
> >
> Because it won't use an index for a LIKE, only a seqscan.
Oh, that's interesting. I think a LIKE will already use an index,
except for non-C locales. Is that the issue?
--
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