Fix visibility of analyze.
[online_analyze.git] / online_analyze.c
index b6ccf68..3051283 100644 (file)
@@ -558,6 +558,9 @@ makeAnalyze(Oid relOid, CmdKind operation, int64 naffected)
 #endif
                );
 
+               /* Make changes visible to subsequent calls */
+               CommandCounterIncrement();
+
                if (online_analyze_verbose)
                {
                        long    secs;