projects
/
plantuner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c27646
)
v13 support
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 3 Mar 2020 15:37:53 +0000
(18:37 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 3 Mar 2020 15:37:53 +0000
(18:37 +0300)
plantuner.c
patch
|
blob
|
history
diff --git
a/plantuner.c
b/plantuner.c
index
b22ef9c
..
f87dcea
100644
(file)
--- a/
plantuner.c
+++ b/
plantuner.c
@@
-49,6
+49,11
@@
PG_MODULE_MAGIC;
+#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 int nDisabledIndexes = 0;
static Oid *disabledIndexes = NULL;
static char *disableIndexesOutStr = "";