From 31796cdacc6581574928d3ae6b1010d7700e456f Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Thu, 14 Jun 2018 21:05:18 +0300 Subject: [PATCH] v11 support --- online_analyze.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/online_analyze.c b/online_analyze.c index 3051283..20b0e82 100644 --- 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)) { -- 2.46.1