X-Git-Url: http://www.sigaev.ru/git/gitweb.cgi?p=gevel.git;a=blobdiff_plain;f=gevel.c;h=bfadb97feea29e54189a7ab3460d3abdfd063c64;hp=7887114e35aab38c0ddcdf2fce1792f241c355f8;hb=bd8b8b031a8049a6e7c18c00946bfbd99d75d27f;hpb=3ab238d33b718ac0eda5715f437e6f9b848b7602 diff --git a/gevel.c b/gevel.c index 7887114..bfadb97 100644 --- 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);