pgsql: Remove autoanalyze corner case.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove autoanalyze corner case.
Date: 2026-04-06 16:29:27
Message-ID: E1w9mpK-003G7J-2a@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)xzilla(dot)net>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Sami Imseih <samimseih(at)gmail(dot)com>
Reviewed-by: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Discussion: https://postgr.es/m/adB9nSsm_S0D9708%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e3481edfd1b6b0a64fef8f43cfa3b48e94c01682

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 9 ---------
1 file changed, 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2026-04-06 16:46:22 pgsql: Add a guc_check_handler to the EXPLAIN extension mechanism.
Previous Message Robert Haas 2026-04-06 16:15:47 Re: pgsql: Reduce log level of some logical decoding messages from LOG to D