agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove recheck_relation_needs_vacanalyze().
Date: Mon, 06 Apr 2026 19:31:32 +0000
Message-ID: <E1w9pfX-003HQH-19@gemulon.postgresql.org> (raw)
Remove recheck_relation_needs_vacanalyze().
This function is a thin wrapper around relation_needs_vacanalyze()
that handles fetching and freeing the pgstat entry for the table.
Since all callers of relation_needs_vacanalyze() do that anyway, we
can teach that function to fetch/free the pgstat entry and use it
instead.
Suggested-by: Álvaro Herrera <alvherre@kurilemu.de>
Author: Sami Imseih <samimseih@gmail.com>
Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0s4xjMrB-VAnLccC7kY8d0-4806-Lsac-czJsdA1LXtAw%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/775fe51daaef9131c5a00447c0ea9ff36d6a2406
Modified Files
--------------
src/backend/postmaster/autovacuum.c | 74 +++++++------------------------------
1 file changed, 14 insertions(+), 60 deletions(-)
Message-ID: <E1w9pfX-003HQH-19@gemulon.postgresql.org>
Permalink: ../E1w9pfX-003HQH-19@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1w9pfX-003HQH-19@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 recheck_relation_needs_vacanalyze().
In-Reply-To: <E1w9pfX-003HQH-19@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