projects
/
online_analyze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b51c5ba
)
v11 support
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 14 Jun 2018 18:05:18 +0000
(21:05 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 14 Jun 2018 18:05:18 +0000
(21:05 +0300)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
3051283
..
20b0e82
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-850,8
+850,12
@@
onlineAnalyzeHookerUtility(
{
VacuumStmt *vac = (VacuumStmt*)parsetree;
+#if PG_VERSION_NUM >= 110000
+ tblnames = vac->rels;
+#else
if (vac->relation)
tblnames = list_make1(vac->relation);
+#endif
if (vac->options & (VACOPT_VACUUM | VACOPT_FULL | VACOPT_FREEZE))
{