Re: BUG #2196: Useless RECHECK on RTREE index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2196: Useless RECHECK on RTREE index
Дата
Msg-id 6743.1138037164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2196: Useless RECHECK on RTREE index  ("" <agattik@gmail.com>)
Список pgsql-bugs
"" <agattik@gmail.com> writes:
>  Bitmap Heap Scan on tpoints  (cost=1.05..10.46 rows=10 width=8)
>    Recheck Cond: ('(1,1),(0,0)'::box && box(point((x)::double precision,
> (y)::double precision), point((x)::double precision, (y)::double
> precision)))
>    ->  Bitmap Index Scan on i_tpoints  (cost=0.00..1.05 rows=10 width=0)
>          Index Cond: ('(1,1),(0,0)'::box && box(point((x)::double precision,
> (y)::double precision), point((x)::double precision, (y)::double
> precision)))
> (4 rows)

> The RECHECK is necessary in case of polygons, but useless in case of box
> overlap.

You don't understand what a bitmap scan's recheck condition is for.
The above plan is correct.

            regards, tom lane

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

Предыдущее
От: "Jacques Gollion"
Дата:
Сообщение: BUG #2198: Now returns always same date and time during a session
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2198: Now returns always same date and time during a session