X-Git-Url: http://sigaev.ru/git/gitweb.cgi?p=smlar.git;a=blobdiff_plain;f=smlar_gin.c;h=4164fa4bfdcaa3aad81872d5ade07b9a9f720bf0;hp=798b9be9d1c0756895bbafd13102afa0da411af2;hb=HEAD;hpb=8a465bb03ae7e2e85c3f9e1ebd75eb4ec830f3c5 diff --git a/smlar_gin.c b/smlar_gin.c index 798b9be..4164fa4 100644 --- a/smlar_gin.c +++ b/smlar_gin.c @@ -5,7 +5,11 @@ #include "fmgr.h" #include "access/gin.h" #include "access/skey.h" +#if PG_VERSION_NUM < 130000 +#include "access/tuptoaster.h" +#else #include "access/heaptoast.h" +#endif PG_FUNCTION_INFO_V1(smlararrayextract); Datum smlararrayextract(PG_FUNCTION_ARGS);