aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginbtree.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-20 16:57:41 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-20 16:57:41 +0200
commit501012631e7d2e1c22f60b11ff8cb62ae021625e (patch)
treea697f2617f6a5f71cf7ccc38a1c1b8b5876009a8 /src/backend/access/gin/ginbtree.c
parent04965ad40e10677ceec94d871a183e73023b238f (diff)
downloadpostgresql-501012631e7d2e1c22f60b11ff8cb62ae021625e.tar.gz
postgresql-501012631e7d2e1c22f60b11ff8cb62ae021625e.zip
Refactor the internal GIN B-tree interface for forming a downlink.
This creates a new gin-btree callback function for creating a downlink for a page. Previously, ginxlog.c duplicated the logic used during normal operation.
Diffstat (limited to 'src/backend/access/gin/ginbtree.c')
-rw-r--r--src/backend/access/gin/ginbtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c
index 0d93c52e043..c4801d5cd89 100644
--- a/src/backend/access/gin/ginbtree.c
+++ b/src/backend/access/gin/ginbtree.c
@@ -452,6 +452,7 @@ ginInsertValue(GinBtree btree, GinBtreeStack *stack, GinStatsData *buildStats)
}
}
+ btree->prepareDownlink(btree, stack->buffer);
btree->isDelete = FALSE;
/* search parent to lock */