Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.
Дата
Msg-id CAA-aLv4nOYV1u1uAjMYktDShszvHdc+UV35MFfKKKtAniL6OLQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Allow opclasses to provide tri-valued GIN consistent functions.  (Heikki Linnakangas <heikki.linnakangas@iki.fi>)
Ответы Re: pgsql: Allow opclasses to provide tri-valued GIN consistent functions.  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-committers
On 12 March 2014 15:52, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote:
> Allow opclasses to provide tri-valued GIN consistent functions.
>
> With the GIN "fast scan" feature, GIN can skip items without fetching all
> the keys for them, if it can prove that they don't match regardless of
> those keys. So far, it has done the proving by calling the boolean
> consistent function with all combinations of TRUE/FALSE for the unfetched
> keys, but since that's O(n^2), it becomes unfeasible with more than a few
> keys. We can avoid calling consistent with all the combinations, if we can
> tell the operator class implementation directly which keys are unknown.
>
> This commit includes a triConsistent function for the built-in array and
> tsvector opclasses.
>
> Alexander Korotkov, with some changes by me.

Patch to fix a couple typos attached.

--
Thom

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: C comments: remove odd blank lines after #ifdef WIN32 lines
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix a couple of typos in docs.