Re: obsolete autovacuum comment - Mailing list pgsql-hackers

From David Rowley
Subject Re: obsolete autovacuum comment
Date
Msg-id CAApHDvrVRVY0RdHBCxz2HW2DeS6xdgmWGZGrCUhQ3GnR-=wyvw@mail.gmail.com
Whole thread Raw
In response to Re: obsolete autovacuum comment  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: obsolete autovacuum comment
Re: obsolete autovacuum comment
List pgsql-hackers
On Wed, 12 Nov 2025 at 09:35, Nathan Bossart <nathandbossart@gmail.com> wrote:
>
> On Mon, Nov 10, 2025 at 02:03:27PM -0600, Nathan Bossart wrote:
> > Any objections to removing this comment?
>
> If none materialize, I will proceed with removal in a couple of days.

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 does look like Tom wrote it new for 29094193f rather than copied it
from somewhere, as those words didn't exist in the pg_autovacuum
contrib module as of that commit.

David



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: another autovacuum scheduling thread
Next
From: Sami Imseih
Date:
Subject: Re: another autovacuum scheduling thread