Re: WIP: Covering + unique indexes.

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: WIP: Covering + unique indexes.
Дата
Msg-id fc48f70f-6db6-4125-c8bd-d39d746ca58d@sigaev.ru
обсуждение исходный текст
Ответ на Re: WIP: Covering + unique indexes.  (Peter Geoghegan <pg@bowt.ie>)
Ответы Sv: Re: WIP: Covering + unique indexes.  (Andreas Joseph Krogh <andreas@visena.com>)
Re: WIP: Covering + unique indexes.  (Peter Geoghegan <pg@bowt.ie>)
Re: WIP: Covering + unique indexes.  (Andres Freund <andres@anarazel.de>)
Re: WIP: Covering + unique indexes.  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Thanks to everyone, pushed.




Peter Geoghegan wrote:
> On Sat, Apr 7, 2018 at 5:48 AM, Teodor Sigaev <teodor@sigaev.ru> wrote:
>> On close look, bts_btentry.ip_posid is not used anymore, I change
>> bts_btentry type to BlockNumber. As result, BTEntrySame() is removed.
> 
> That seems like a good idea.
> 
>> I'm not very happy with massive usage of
>> ItemPointerGetBlockNumberNoCheck(&(itup->t_tid)), suggest to  wrap it to
>> macro something like this:
>> #define BTreeInnerTupleGetDownLink(itup) \
>>          ItemPointerGetBlockNumberNoCheck(&(itup->t_tid))
> 
> Agreed. We do that with GIN.
> 

-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru
                                       WWW: http://www.sigaev.ru/


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] path toward faster partition pruning
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Sv: Re: WIP: Covering + unique indexes.