From 41b3b8a4185f49455b51031d029b76e9ba01c123 Mon Sep 17 00:00:00 2001 From: reshke Date: Tue, 13 Aug 2024 06:47:45 +0000 Subject: [PATCH] Revert some mis-indentation --- src/backend/commands/matview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c index 31661ebd822..226fbc60481 100644 --- a/src/backend/commands/matview.c +++ b/src/backend/commands/matview.c @@ -1723,8 +1723,7 @@ ivm_immediate_maintenance(PG_FUNCTION_ARGS) if (!(query->hasAggs && query->groupClause == NIL)) ExecuteTruncateGuts(list_make1(matviewRel), list_make1_oid(matviewOid), NIL, DROP_RESTRICT, false, NULL); - else - if (Gp_role == GP_ROLE_DISPATCH) + else if (Gp_role == GP_ROLE_DISPATCH) ExecuteTruncateGuts_IVM(matviewRel, matviewOid, query); /* Clean up hash entry and delete tuplestores */