Re: GiST: PickSplit and multi-attr indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GiST: PickSplit and multi-attr indexes
Дата
Msg-id 27866.1100476459@sss.pgh.pa.us
обсуждение исходный текст
Ответ на GiST: PickSplit and multi-attr indexes  (Neil Conway <neilc@samurai.com>)
Ответы Re: GiST: PickSplit and multi-attr indexes  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> If I understand the code correctly, GiST will only pass the first 
> attribute of each index tuple to the user-defined PickSplit method when 
> it wants to split a node. (see circa line 1269 of gist.c)

> Is this a wise design decision?

It's probably just a hangover from the days when GiST didn't support
multi-column indexes at all.  I agree it should be changed.  But note
you will then have to cope with NULL values.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: German-style quotes in the source file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: IpcSemaphoreLock/Unlock and proc_exit on 7.2.6