]> granicus.if.org Git - postgresql/commit
More GIN refactoring.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Nov 2013 15:00:53 +0000 (17:00 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 20 Nov 2013 15:01:33 +0000 (17:01 +0200)
commit04eee1fa9ee80dabf7cf4b8b9106897272e9b291
tree9cd3a12d5a910f6cd1a6166b05bbe4b161fa6548
parent501012631e7d2e1c22f60b11ff8cb62ae021625e
More GIN refactoring.

Split off the portion of ginInsertValue that inserts the tuple to current
level into a separate function, ginPlaceToPage. ginInsertValue's charter
is now to recurse up the tree to insert the downlink, when a page split is
required.

This is in preparation for a patch to change the way incomplete splits are
handled, which will need to do these operations separately. And IMHO makes
the code more readable anyway.
src/backend/access/gin/ginbtree.c