diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 2e593aed2b..9bf2fa9a30 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -615,6 +615,7 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt) else { sub_rtable = NIL; /* not used, but keep compiler quiet */ + sub_rteperminfos = NIL; sub_namespace = NIL; }