From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: More GIN refactoring. |
Date: | 2013-11-20 16:12:08 |
Message-ID: | E1VjANs-0001W5-4g@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/04eee1fa9ee80dabf7cf4b8b9106897272e9b291
Modified Files
--------------
src/backend/access/gin/ginbtree.c | 276 ++++++++++++++++++++-----------------
1 file changed, 148 insertions(+), 128 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2013-11-21 12:57:10 | pgsql: Fix pg_isready to handle -d option properly. |
Previous Message | Peter Eisentraut | 2013-11-20 03:04:06 | pgsql: ecpg: Split off mmfatal() from mmerror() |