From: Kris Jurka <books@ejurka.com>
To: Clemens Eisserer <linuxhippy@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Does Lower make indexes useless?
Date: Fri, 5 May 2006 12:54:32 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0605051249080.13150@leary2.csoft.net> (raw)
In-Reply-To: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com>
References: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com>
On Fri, 5 May 2006, Clemens Eisserer wrote:
> I am using queries very often which look like "... WHERE
> LOWER(field)='..';" to allow case-insensitive search on varchar
> columns.
>
> Does this make indexes useless or are there algorythmns which allow
> using indexes even in this case?
> Are there ways how this could be done in a better way?
>
This question has nothing to do with Java or JDBC, so this isn't the right
list. You should try -novice or -general.
http://www.postgresql.org/docs/8.1/static/indexes-expressional.html
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, linuxhippy@gmail.com
Subject: Re: Does Lower make indexes useless?
In-Reply-To: <Pine.BSO.4.63.0605051249080.13150@leary2.csoft.net>
References: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com> <Pine.BSO.4.63.0605051249080.13150@leary2.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox