View Single Post

   
  #4 (permalink)  
Old 04-18-2008, 11:05 AM
Steinar H. Gunderson
 
Posts: n/a
Default Re: Index not used with or condition

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 With Quote