From: Guillaume Smet <guillaume.smet@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Estimation problem with a LIKE clause containing a /
Date: Thu, 8 Nov 2007 00:32:55 +0100
Message-ID: <1d4e0c10711071532oc6ed9afq1cbf1b2e69ed49fd@mail.gmail.com> (raw)
In-Reply-To: <18180.1194454729@sss.pgh.pa.us>
References: <1d4e0c10711070453q214f089cpd144cbb5193d3c4f@mail.gmail.com>
<17767.1194453292@sss.pgh.pa.us>
<1d4e0c10711070852hfc8aaf2o6eb0cdace2efc9b5@mail.gmail.com>
<18180.1194454729@sss.pgh.pa.us>
On 11/7/07, Tom Lane <tgl@sss.pgh.pa.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: guillaume.smet@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Estimation problem with a LIKE clause containing a /
In-Reply-To: <1d4e0c10711071532oc6ed9afq1cbf1b2e69ed49fd@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox