Re: Estimation problem with a LIKE clause containing a /

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Estimation problem with a LIKE clause containing a /
Дата
Msg-id 11467.1194477248@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Estimation problem with a LIKE clause containing a /  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Estimation problem with a LIKE clause containing a /  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Re: Estimation problem with a LIKE clause containing a /  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-performance
I wrote:
> "Guillaume Smet" <guillaume.smet@gmail.com> writes:
>> [ bad estimate for LIKE ]

> Hmmm ... what locale are you working in?  I notice that the range
> estimator for this pattern would be "ancestors >= '1062/' AND
> ancestors < '10620'", which will do the right thing in C locale
> but maybe not so much elsewhere.

I've applied a patch that might help you:
http://archives.postgresql.org/pgsql-committers/2007-11/msg00104.php

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Estimation problem with a LIKE clause containing a /
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: Estimation problem with a LIKE clause containing a /