Use PageIndexTupleOverwrite() within nbtsort.c

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Use PageIndexTupleOverwrite() within nbtsort.c
Дата
Msg-id CAH2-Wz=Zk=B9+Vwm376WuO7YTjFc2SSskifQm4Nme3RRRPtOSQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Use PageIndexTupleOverwrite() within nbtsort.c  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Список pgsql-hackers
Attached patch slightly simplifies nbtsort.c by making it use
PageIndexTupleOverwrite() to overwrite the last right non-pivot tuple
with the new high key (pivot tuple). PageIndexTupleOverwrite() is
designed so that code like this doesn't need to delete and re-insert
to replace an existing tuple.

This slightly simplifies the code, and also makes it marginally
faster. I'll add this to the 2019-09 CF.

-- 
Peter Geoghegan

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Adding SMGR discriminator to buffer tags