Tom Lane wrote:
> I think your previous sketch is right: suppress update of reltuples (and
> relpages) from a partial vacuum scan, and ensure that the analyze phase
> is allowed to do it instead if it happens during VACUUM ANALYZE.
We also mustn't reset n_live_tuples in pgstat in partial vacuum.
Committed a patch to do that.
Thanks for the report!
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com