Simplify vacuum_set_xid_limits()'s signature (minor refactoring)
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-11-19T19:42:55Z
Lists: pgsql-hackers
Attachments
- v1-0001-Simplify-vacuum_set_xid_limits-signature.patch (application/octet-stream) patch v1-0001
Attached patch has vacuumlazy.c pass its VacuumParams state directly to vacuum_set_xid_limits(), the vacuum.c function that figures out which actual cutoffs for freezing should be used. The patch also makes the function use output parameter symbol names that match those used by its vacuumlazy.c caller. The signature of vacuum_set_xid_limits() is probably going to gain additional parameters before too long. In any case this seems like a clear improvement. -- Peter Geoghegan
Commits
-
Simplify vacuum_set_xid_limits() signature.
- b6074846cebc 16.0 landed