projects
/
smlar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a465bb
)
v13 + other support
author
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 7 Oct 2020 21:42:32 +0000
(
00:42
+0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 7 Oct 2020 21:42:32 +0000
(
00:42
+0300)
smlar_gin.c
patch
|
blob
|
history
smlar_gist.c
patch
|
blob
|
history
diff --git
a/smlar_gin.c
b/smlar_gin.c
index
798b9be
..
4164fa4
100644
(file)
--- 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);
diff --git
a/smlar_gist.c
b/smlar_gist.c
index
8cd044b
..
7d77788
100644
(file)
--- a/
smlar_gist.c
+++ b/
smlar_gist.c
@@
-3,7
+3,11
@@
#include "fmgr.h"
#include "access/gist.h"
#include "access/skey.h"
+#if PG_VERSION_NUM < 130000
+#include "access/tuptoaster.h"
+#else
#include "access/heaptoast.h"
+#endif
#include "utils/memutils.h"
typedef struct SmlSign {