Re: remove autoanalyze corner case - Mailing list pgsql-hackers

From Shinya Kato
Subject Re: remove autoanalyze corner case
Date
Msg-id CAOzEurT6RJdEErH9=8jugMy5UMak1ZPJdY4xQ1pWS4VDwuoraQ@mail.gmail.com
Whole thread
In response to remove autoanalyze corner case  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: remove autoanalyze corner case
List pgsql-hackers
On Sat, Apr 4, 2026 at 11:55 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
> Well, autoanalyze only runs in this case if autovacuum is disabled via the
> table's autovacuum_enabled reloption and _not_ disabled via the autovacuum
> or track_counts GUCs.  I think this is pretty clearly unintentional, as I
> can find no mention in the code, archives, or docs.  And unless I'm missing
> something, it's completely unnecessary.  So IMHO we should just remove it.

+1. I think it might be better to mention this in the documentation to
make the behavior explicit. What do you think about stating that an
anti-wraparound autovacuum does not perform an ANALYZE, like in the
attached patch?



--
Best regards,
Shinya Kato
NTT OSS Center

Attachment

pgsql-hackers by date:

Previous
From: Henson Choi
Date:
Subject: Re: Row pattern recognition
Next
From: Bruce Momjian
Date:
Subject: Re: PG 19 release notes and authors