agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove autoanalyze corner case.
Date: Mon, 06 Apr 2026 16:29:27 +0000
Message-ID: <E1w9mpK-003G7J-2a@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

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



Message-ID: <E1w9mpK-003G7J-2a@gemulon.postgresql.org>
Permalink:  ../E1w9mpK-003G7J-2a@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w9mpK-003G7J-2a@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove autoanalyze corner case.
  In-Reply-To: <E1w9mpK-003G7J-2a@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox