Re: Broken selectivity with special inet operators

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Broken selectivity with special inet operators
Дата
Msg-id 4E7A547C.40700@agliodbs.com
обсуждение исходный текст
Ответ на Re: Broken selectivity with special inet operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Broken selectivity with special inet operators
Список pgsql-bugs
On 9/21/11 1:56 PM, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> Summary: special inet operators ( << >> <<= =>> ) are
>>     up to 1000000X off in estimating rowcounts
>
> A look in pg_operator will show you that these operators have no
> associated selectivity estimators at all.  It's not so much "broken"
> as "unimplemented".

Oh!  I was assuming that the special case code kicked in regardless.

So we implemented the rewrite to < and > for the actual execution, but
not for cost estimates?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Broken selectivity with special inet operators
Следующее
От: "Eric Vollnogel"
Дата:
Сообщение: BUG #6219: date_part() function producting incorrect year