From: Antony Paul <antonypaul24@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Index not used with or condition
Date: Mon, 7 Feb 2005 17:27:13 +0530
Message-ID: <2989532e050207035716306f36@mail.gmail.com> (raw)
In-Reply-To: <20050207114605.GB27546@uio.no>
References: <2989532e05020701073638ca4c@mail.gmail.com>
<2989532e0502070314402057cc@mail.gmail.com>
<20050207114605.GB27546@uio.no>
Sorry I forgot to mention it. I am using 7.3.3. I will try it in 8.0.0
rgds
Antony Paul
On Mon, 7 Feb 2005 12:46:05 +0100, Steinar H. Gunderson
<sgunderson@bigfoot.com> wrote:
> On Mon, Feb 07, 2005 at 04:44:07PM +0530, Antony Paul wrote:
> > On more investigation I found that index scan is not used if the query
> > have a function in it like lower() and an index exist for lower()
> > column.
>
> What version are you using? 8.0 had fixes for this situation.
>
> /* Steinar */
> --
> Homepage: http://www.sesse.net/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: antonypaul24@gmail.com
Subject: Re: Index not used with or condition
In-Reply-To: <2989532e050207035716306f36@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