rstat->tableid = relOid;
newTable = true;
}
- else if (operation == CK_VACUUM)
+
+ if (operation == CK_VACUUM)
{
- /* force reread becouse vacuum could change n_tuples */
+ /* force reread because vacuum could change n_tuples */
rstat->rereadStat = true;
return;
}
/* only analyze */
rstat->changes_since_analyze = 0;
rstat->analyze_timestamp = now;
+ if (newTable)
+ rstat->rereadStat = true;
return;
}