istore
istore copied to clipboard
build failure with postgresql-12
version 0.1.6 doesn't seem to appreciate pg-12:
src/bigistore.c:580:58: error: unknown type name âFunctionCallInfoDataâ; did you mean âFunctionCallInfoBaseDataâ?
580 | setup_firstcall(FuncCallContext *funcctx, BigIStore *is, FunctionCallInfoData *fcinfo)
| ^~~~~~~~~~~~~~~~~~~~
| FunctionCallInfoBaseData
src/istore.c:579:55: error: unknown type name âFunctionCallInfoDataâ; did you mean âFunctionCallInfoBaseDataâ?
579 | setup_firstcall(FuncCallContext *funcctx, IStore *is, FunctionCallInfoData *fcinfo)
| ^~~~~~~~~~~~~~~~~~~~
| FunctionCallInfoBaseData
src/bigistore.c: In function âbigistore_eachâ:
src/bigistore.c:621:9: warning: implicit declaration of function âsetup_firstcallâ [-Wimplicit-function-declaration]
621 | setup_firstcall(funcctx, is, fcinfo);
| ^~~~~~~~~~~~~~~
src/istore.c: In function âistore_eachâ:
src/istore.c:620:9: warning: implicit declaration of function âsetup_firstcallâ [-Wimplicit-function-declaration]
620 | setup_firstcall(funcctx, is, fcinfo);
| ^~~~~~~~~~~~~~~
make: *** [<builtin>: src/bigistore.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [<builtin>: src/istore.o] Error
I’ll look into this
Actually it should be fine to use the latest binary with older SQLs. Since v0.1.6 only a few new functions were added. Old functions were slightly refactored without API changes (or with backward compatibility; the only such change i found is a new input format for istores in v0.1.11). Master branch is compatible with pg12 and builds ok. @patricklauer, can you try to use binary from master?
Current master builds without issue, so best to make a new release
I created a new release on github. Do you want me to add a new version to gentoo-overlay?