Re: How to use index in case insensitive substing search - Mailing list pgsql-general

From Roman Neuhauser
Subject Re: How to use index in case insensitive substing search
Date
Msg-id 20060606113557.GA4182@dagan.sigpipe.cz
Whole thread Raw
In response to How to use index in case insensitive substing search  ("Andrus" <eetasoft@online.ee>)
List pgsql-general
# eetasoft@online.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

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: How to use index in case insensitive substing search
Next
From: "Andrus"
Date:
Subject: Re: How to use index in case insensitive substing search