]> granicus.if.org Git - postgresql/commit
More GIN refactoring.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Nov 2013 13:43:05 +0000 (15:43 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Nov 2013 13:43:05 +0000 (15:43 +0200)
commitce5326eed386959aac7a322880896ddeade7fd52
tree16f903bb47df48ab748c485c7e350e5dced2c253
parent4118f7e8ede8a3616189b53983aea293fd0b3cb1
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.
src/backend/access/gin/ginbtree.c
src/backend/access/gin/gindatapage.c
src/backend/access/gin/ginentrypage.c
src/backend/access/gin/ginget.c
src/backend/access/gin/gininsert.c
src/backend/access/gin/ginxlog.c
src/include/access/gin_private.h