On Mon, Mar 3, 2025 at 11:48 AM Melanie Plageman <[email protected]> wrote: > > On Mon, Mar 3, 2025 at 11:44 AM Álvaro Herrera <[email protected]> > wrote: > > > > I'm confused about this. Why was the new value added to pg_class > > instead of to the pgstat system? I don't think relallvisible is a good > > precedent, because as you write here, that one is used for planning, > > which has different requirements. For vacuuming metrics we rely on > > pgstat. > > We use relpages and reltuples from pg_class in > relation_needs_vacanalyze() in the same way relallfrozen is being used > here.
Sorry reltuples only (not relpages). - Melanie
