projects
/
smlar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15c8b4b
)
v13 support
author
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 8 Apr 2020 09:53:09 +0000
(12:53 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 8 Apr 2020 09:53:09 +0000
(12:53 +0300)
smlar.c
patch
|
blob
|
history
diff --git
a/smlar.c
b/smlar.c
index
ce7e2ad
..
672e453
100644
(file)
--- a/
smlar.c
+++ b/
smlar.c
@@
-30,6
+30,10
@@
PG_MODULE_MAGIC;
#define SNAPSHOT SnapshotNow
#endif
+#if PG_VERSION_NUM >= 130000
+#define heap_open(r, l) table_open((r), (l))
+#define heap_close(r, l) table_close((r), (l))
+#endif
static Oid
getDefaultOpclass(Oid amoid, Oid typid)