Re: How to use index in case insensitive substing search

From: Roman Neuhauser <neuhauser(at)sigpipe(dot)cz>
To: Andrus <eetasoft(at)online(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to use index in case insensitive substing search
Date: 2006-06-06 11:35:57
Message-ID: 20060606113557.GA4182@dagan.sigpipe.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

# eetasoft(at)online(dot)ee / 2006-06-06 11:58:26 +0300:
> How to force postgres to use index for the following query (I can change the
> query to equivalent if required)
>
> select nimi from klient where lower(nimi) like 'test%'

do you have an index on klient (lower(nimi))?

--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjørn T Johansen 2006-06-06 11:51:49 Re: Best open source tool for database design / ERDs?
Previous Message Kenneth Downs 2006-06-06 11:12:06 Re: Best open source tool for database design / ERDs?