On Sat, Apr 4, 2026 at 11:55 AM Nathan Bossart <[email protected]> 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: v2-0001-remove-autoanalyze-corner-case.patch
Description: Binary data

Reply via email to