Re: Index not used with or condition

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Index not used with or condition
Date: 2005-02-07 11:46:05
Message-ID: 20050207114605.GB27546@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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/

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jan Poslusny 2005-02-07 11:53:30 Re: Index not used with or condition
Previous Message Joost Kraaijeveld 2005-02-07 11:36:24 Is this possible / slow performance?