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.
Re: WIP: Covering + unique indexes. Re: WIP: Covering + unique indexes. Re: WIP: Covering + unique indexes. |
Список | 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 по дате отправления: