Re: Estimation problem with a LIKE clause containing a /

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Estimation problem with a LIKE clause containing a /
Date: 2007-11-07 23:32:55
Message-ID: 1d4e0c10711071532oc6ed9afq1cbf1b2e69ed49fd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 11/7/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I wanted the locale (lc_collate), not the encoding.

fr_FR.UTF-8

> That would optimize this particular query and probably pessimize
> a lot of others.

Sure but there aren't a lot of queries based on the ancestors field
and if they are a bit slower, it's not a problem. However having a
query taking forever is not acceptable as the content management app
is unaccessible.
So it can be an acceptable solution in this case, even if not perfect.

--
Guillaume

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2007-11-07 23:36:16 Re: Estimation problem with a LIKE clause containing a /
Previous Message Tom Lane 2007-11-07 23:32:53 Re: Feature Request: inline comments

Browse pgsql-performance by date

  From Date Subject
Next Message Guillaume Smet 2007-11-07 23:36:16 Re: Estimation problem with a LIKE clause containing a /
Previous Message Tom Lane 2007-11-07 23:14:08 Re: Estimation problem with a LIKE clause containing a /