Remove autoanalyze corner case.

Nathan Bossart <nathan@postgresql.org>

Commit: e3481edfd1b6b0a64fef8f43cfa3b48e94c01682
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2026-04-06T16:28:46Z
Remove autoanalyze corner case.

The restructuring in commit 53b8ca6881 revealed an interesting
corner case: if a table needs vacuuming for wraparound prevention
and autovacuum is disabled for it, we might still choose to analyze
it.  Research seems to indicate this was an accidental addition by
commit 48188e1621, and further discussion indicates there is
consensus that it is unnecessary and can be removed.

Reviewed-by: Robert Treat <rob@xzilla.net>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Reviewed-by: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/adB9nSsm_S0D9708%40nathan

Files

PathChange+/−
src/backend/postmaster/autovacuum.c modified +0 −9

Discussion