Search Postgresql Archives

Re: Problem with text_pattern_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Stephan Szabo wrote:
On Tue, 26 Jul 2005, Joseph Shraibman wrote:


I have this index:

"directory_lower_username_seg_key" unique, btree (lower(username)
text_pattern_ops, seg)

... but my query refuses to use that index.


text_pattern_ops is an opclass for doing LIKE queries using the index, I
don't believe it's used for equality comparisons.

Seems like a bug to me. That operator can't do the operations equal, less than, and greater than?

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux