Re: obsolete autovacuum comment

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: obsolete autovacuum comment
Date: 2025-11-12 17:16:19
Message-ID: 202511121714.x6upacmxnfzm@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-11-12 17:25:45 Re: Extended test coverage and docs for SSL passphrase commands
Previous Message Masahiko Sawada 2025-11-12 17:11:36 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart