pgsql: More GIN refactoring.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: More GIN refactoring.
Дата
Msg-id E1VlfSA-000487-Ft@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
More GIN refactoring.

Separate the insertion payload from the more static portions of GinBtree.
GinBtree now only contains information related to searching the tree, and
the information of what to insert is passed separately.

Add root block number to GinBtree, instead of passing it around all the
functions as argument.

Split off ginFinishSplit() from ginInsertValue(). ginFinishSplit is
responsible for finding the parent and inserting the downlink to it.

Branch
------
master

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

Modified Files
--------------
src/backend/access/gin/ginbtree.c     |  182 ++++++++++++++++++++-------------
src/backend/access/gin/gindatapage.c  |  168 ++++++++++++++++--------------
src/backend/access/gin/ginentrypage.c |   96 +++++++++--------
src/backend/access/gin/ginget.c       |    2 +-
src/backend/access/gin/gininsert.c    |   11 +-
src/backend/access/gin/ginxlog.c      |   22 ++--
src/include/access/gin_private.h      |   46 ++++++---
7 files changed, 309 insertions(+), 218 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix plpython3 expected output.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Get rid of the post-recovery cleanup step of GIN page splits.