Re: WIP: Covering + unique indexes.
От | Peter Geoghegan |
---|---|
Тема | Re: WIP: Covering + unique indexes. |
Дата | |
Msg-id | CAH2-WzkRh4z+ABtSUU1DUOgOOSEm_7zKg=p_AQXii+m84rJgPw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: WIP: Covering + unique indexes. (Teodor Sigaev <teodor@sigaev.ru>) |
Ответы |
Re: WIP: Covering + unique indexes.
|
Список | pgsql-hackers |
On Wed, Apr 18, 2018 at 1:32 PM, Teodor Sigaev <teodor@sigaev.ru> wrote: >> I don't understand. We do check the number of attributes on rightmost >> pages, but we do so separately, in the main loop. For every item that >> isn't the high key. > > Comment added, pls, verify. And refactored _bt_check_natts(), I hope, now > it's a bit more readable. The new comment looks good. Now I understand what you meant about _bt_check_natts(). And, I agree that this is an improvement -- the extra verbosity is worth it. > I didn't do that in v1, sorry, I was unclear. Attached patch contains all > changes suggested in my previous email. Looks new BTreeTupSetNAtts () assertion good to me. I suggest committing this patch as-is. Thank you -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: