Re: obsolete autovacuum comment

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-11-12T17:16:19Z
Lists: pgsql-hackers
On 2025-Nov-12, David Rowley wrote:

> I've never been able to make sense of that comment. I tried to dig a
> bit yesterday and still couldn't make sense of it in the context of
> the commit when it was added.  I assume it's talking about
> pg_stat_all_tables.autovacuum_count, but I can't think why that
> matters as I didn't find any code that took that into account for
> triggering autovacuum.

It's not at all talking about autovacuum_count.  That field came in with
Postgres 9.1 in 2010, commit 946045f04d11, several years later.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Por suerte hoy explotó el califont porque si no me habría muerto
 de aburrido"  (Papelucho)



Commits

  1. Remove obsolete autovacuum comment.

  2. Add vacuum and analyze counters to pg_stat_*_tables views.

  3. I have updated my pg_autovacuum program (formerly pg_avd, the name