Re: ILIKE and indexes

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ILIKE and indexes
Date: 2007-03-19 10:01:08
Message-ID: 1d4e0c10703190301w5625bc1nb82ca0b19080ee8e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/19/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Not if you have an index on lower(col) which one supposes you'd have
> anyway for such an application. Or are you running an ancient PG
> release?

Yes, you're right. Looking at my history I can't find what my error
was - I analyzed the table several times to be sure. As I was playing
with the production db and a 8.2.3 db, perhaps I missed a command on
one of the db server.

Anyway, the estimates are accurate now.

Thanks for your help.

--
Guillaume

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-03-19 10:09:03 Re: CREATE INDEX and HOT (was Question: pg_class attributes and race conditions ?)
Previous Message Simon Riggs 2007-03-19 09:51:09 Re: CREATE INDEX and HOT (was Question:pg_classattributes and race conditions ?)