pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify vacuum_set_xid_limits() signature.
Date: Wed, 23 Nov 2022 19:11:48 +0000
Message-ID: <E1oxv9v-000X40-Bh@gemulon.postgresql.org> (raw)

Simplify vacuum_set_xid_limits() signature.

Pass VACUUM parameters (VacuumParams state) to vacuum_set_xid_limits()
directly, rather than passing most individual VacuumParams fields as
separate arguments.

Also make vacuum_set_xid_limits() output parameter symbol names match
those used by its vacuumlazy.c caller.

Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-Wz=TE7gW5DgSahDkf0UEZigFGAoHNNN6EvSrdzC=Kn+hrA@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c |  7 +--
src/backend/commands/cluster.c       |  4 +-
src/backend/commands/vacuum.c        | 94 +++++++++++++++++++-----------------
src/include/commands/vacuum.h        | 14 ++----
4 files changed, 58 insertions(+), 61 deletions(-)



Message-ID: <E1oxv9v-000X40-Bh@gemulon.postgresql.org>
Permalink:  ../E1oxv9v-000X40-Bh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oxv9v-000X40-Bh@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Simplify vacuum_set_xid_limits() signature.
  In-Reply-To: <E1oxv9v-000X40-Bh@gemulon.postgresql.org>
  References: <E1oxv9v-000X40-Bh@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