pgsql: Simplify vacuum_set_xid_limits() signature.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Simplify vacuum_set_xid_limits() signature.
Date: 2022-11-23 19:11:48
Message-ID: E1oxv9v-000X40-Bh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-11-23 19:44:04 pgsql: Expand AclMode to 64 bits
Previous Message Peter Geoghegan 2022-11-23 18:50:31 pgsql: Don't test HEAP_XMAX_INVALID when freezing xmax.