LIKE search with ending % not optimized in v8 - Mailing list pgsql-performance

From Aditya Damle
Subject LIKE search with ending % not optimized in v8
Date
Msg-id 20050622090329.34686.qmail@web32910.mail.mud.yahoo.com
Whole thread Raw
Responses Re: LIKE search with ending % not optimized in v8
List pgsql-performance
Hello. I believe in earlier versions, a query of the
form
select attrib from ttt where attrib like 'foo%' would
be able to take advantage of an index. I have seen
this in the past. Currently I am using v8.0.3. From
what I can see is that the execultion plan seems to
use a seq scan and to totally ignore the index. Is
this the case?

-Aditya


pgsql-performance by date:

Previous
From: Gnanavel Shanmugam
Date:
Subject: Re: How can I speed up this function?
Next
From: David Mitchell
Date:
Subject: Re: How can I speed up this function?