[COMMITTERS] pgsql: hash: Refactor bucket squeeze code.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: hash: Refactor bucket squeeze code.
Дата
Msg-id E1ciOoE-0002rk-QU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
hash: Refactor bucket squeeze code.

In preparation for adding write-ahead logging to hash indexes,
refactor _hash_freeovflpage and _hash_squeezebucket so that all
related page modifications happen in a single section of code.  The
previous coding assumed that it would be fine to move tuples one at a
time, and also that the various operations involved in freeing an
overflow page didn't necessarily all need to be done together, all
of which is true if you don't care about write-ahead logging.

Amit Kapila, with slight changes by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b0f18cb77f50a54e997d857d592f6a511617f52c

Modified Files
--------------
src/backend/access/hash/hashinsert.c |  41 ++++++++
src/backend/access/hash/hashovfl.c   | 189 ++++++++++++++++++++++-------------
src/backend/access/hash/hashpage.c   |   1 -
src/backend/storage/page/bufpage.c   |  27 +++++
src/include/access/hash.h            |   7 +-
src/include/storage/bufpage.h        |   1 +
6 files changed, 196 insertions(+), 70 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Remove PL/Tcl's "module" facility.
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: hash: Refactor overflow page allocation.