projects
/
gevel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab238d
)
9.6 snapshot too old support
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 28 Apr 2016 14:44:59 +0000
(17:44 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 28 Apr 2016 14:44:59 +0000
(17:44 +0300)
gevel.c
patch
|
blob
|
history
diff --git
a/gevel.c
b/gevel.c
index
7887114
..
bfadb97
100644
(file)
--- a/
gevel.c
+++ b/
gevel.c
@@
-736,7
+736,11
@@
processTuple( FuncCallContext *funcctx, GinStatState *st, IndexTuple itup ) {
LockBuffer(st->buffer, GIN_UNLOCK);
#if PG_VERSION_NUM >= 90400
- stack = ginScanBeginPostingTree(&btree, st->index, rootblkno);
+ stack = ginScanBeginPostingTree(&btree, st->index, rootblkno
+#if PG_VERSION_NUM >= 90600
+ , NULL
+#endif
+ );
page = BufferGetPage(stack->buffer);
ItemPointerSetMin(&minItem);
list = GinDataLeafPageGetItems(page, &nlist, minItem);