pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove extract_autovac_opts().
Date: Mon, 17 Aug 2026 17:16:53 +0000
Message-ID: <E1ww0x9-00000000wdy-3oSQ@gemulon.postgresql.org> (raw)

Remove extract_autovac_opts().

extract_autovac_opts() returns a palloc'd copy of just the
AutoVacOpts portion of a relation's reloptions, but upcoming work
needs the other StdRdOptions fields, too.  Remove it in favor of
calling extractRelOptions() directly.  av_relation now caches the
main table's whole StdRdOptions.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Tested-by: Greg Burd <greg@burd.me>
Tested-by: solai v <solai.cdac@gmail.com>
Discussion: https://postgr.es/m/aFRxC1W_kZU9OjJ9%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0499c6ccf5ce510ad8c57211ee8c9414e92c71b7

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 85 +++++++++++++------------------------
1 file changed, 29 insertions(+), 56 deletions(-)



Message-ID: <E1ww0x9-00000000wdy-3oSQ@gemulon.postgresql.org>
Permalink:  ../E1ww0x9-00000000wdy-3oSQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ww0x9-00000000wdy-3oSQ@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 extract_autovac_opts().
  In-Reply-To: <E1ww0x9-00000000wdy-3oSQ@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox