Re: Problem with text_pattern_ops - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Problem with text_pattern_ops
Date
Msg-id 20050726153834.Y61081@megazone.bigpanda.com
Whole thread Raw
In response to Problem with text_pattern_ops  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: Problem with text_pattern_ops
List pgsql-general
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.

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: transaction timeout
Next
From: Joseph Shraibman
Date:
Subject: Re: Problem with text_pattern_ops