Re: BRIN indexes - TRAP: BadArgument

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: BRIN indexes - TRAP: BadArgument
Дата
Msg-id CAM-w4HNc6XeCFOxz_6fnDUt-hbEPOeN0sZrYnAunHeozUhV2uw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BRIN indexes - TRAP: BadArgument  (Greg Stark <stark@mit.edu>)
Ответы Re: BRIN indexes - TRAP: BadArgument  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Sun, Nov 9, 2014 at 5:57 PM, Greg Stark <stark@mit.edu> wrote:
> 2) The mention about additional opclass operators and to number them
> from 11 up is fine -- but there's no explanation of how to decide what
> operators need to be explicitly added like that. Specifically I gather
> from reading minmax that = is handled internally by Brin and you only
> need to add any other operators aside from = ? Is that right?

I see I totally misunderstood the use of the opclass procedure
functions. I think I understand now but just to be sure -- If I can
only handle BTEqualStrategyNumber keys then is it adequate to just
define the opclass containing only the equality operator?

Somehow I got confused between the amprocs that minmax uses to
implement the consistency function and the amops that the brin index
supports.

-- 
greg



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

Предыдущее
От: Ian Barwick
Дата:
Сообщение: psql tab completion: \c [ dbname [ username ] ]
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Sequence Access Method WIP