Re: Case sensitive order by

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: Guy Fraser <guy(at)incentre(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Case sensitive order by
Date: 2003-04-22 07:02:27
Message-ID: 20030422020227.B52506@flake.decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 15, 2003 at 12:03:13PM -0600, Guy Fraser wrote:
> Use them like this:
>
> ... where texticlike(blah,'search phrase') ...
>
> or
>
> ... where blah ~~* 'search phrase' ...

How well will this utilize indexes? With the WHERE lower(field) =
lower('search') method, I can index on lower(field), so it's still fast.
--
Jim C. Nasby (aka Decibel!) jim(at)nasby(dot)net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2003-04-22 07:07:01 Re: Are we losing momentum?
Previous Message Wenzhe Zhou 2003-04-22 02:36:57 index file corrupted