From: Clemens Eisserer <linuxhippy@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Does Lower make indexes useless?
Date: Fri, 5 May 2006 19:48:05 +0200
Message-ID: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com> (raw)
Hi,
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?
Thank you in advance, lg Clemens
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: linuxhippy@gmail.com
Subject: Re: Does Lower make indexes useless?
In-Reply-To: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com>
References: <194f62550605051048n6cadb63fl3272085ded3d95f1@mail.gmail.com>
* 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