Re: Pushing ScalarArrayOpExpr support into the btree index AM

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Pushing ScalarArrayOpExpr support into the btree index AM
Дата
Msg-id CA+TgmoavQ6_ySaAmEaDnc-Bv5qj4eTmPvCz5QsNp6jT0c4fNuA@mail.gmail.com
обсуждение исходный текст
Ответ на Pushing ScalarArrayOpExpr support into the btree index AM  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Oct 15, 2011 at 2:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> In principle somebody could be doing something like
>        WHERE pointcol <@ ANY (ARRAY[list of box values])
> and expecting that to generate a bitmap indexscan on a GIST index, but
> is it likely that anyone is doing that?  (As opposed to the equivalent
> formulation with "pointcol <@ box1 OR pointcol <@ box2 ...", which would
> still work to generate OR'd bitmap scans even if we took out the
> ScalarArrayOpExpr logic.)

That seems like a pretty natural formulation to me, so I would be
rather reluctant to assume nobody's doing it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: index-only scans
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: index-only scans