pgsql: Use PageIndexTupleOverwrite() within nbtree.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Use PageIndexTupleOverwrite() within nbtree.
Дата
Msg-id E1hxbye-0007vS-Ow@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use PageIndexTupleOverwrite() within nbtree.

Use the PageIndexTupleOverwrite() bufpage.c routine within nbtree
instead of deleting a tuple and re-inserting its replacement.  This
makes the intent of affected code slightly clearer.  It also makes
CREATE INDEX slightly faster, since there is no longer a need to shift
every leaf page's line pointer array back and forth during index builds.

Author: Peter Geoghegan, Anastasia Lubennikova
Reviewed-By: Anastasia Lubennikova
Discussion: https://postgr.es/m/CAH2-Wz=Zk=B9+Vwm376WuO7YTjFc2SSskifQm4Nme3RRRPtOSQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af0ba49809b57203d87702b315b64f1fd53c728d

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c |  9 ++++-----
src/backend/access/nbtree/nbtsort.c | 21 ++++++---------------
2 files changed, 10 insertions(+), 20 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Don't constraint-exclude partitioned tables as much
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Un-break pg_dump for pre-8.3 source servers.