Simplify vacuum_set_xid_limits()'s signature (minor refactoring) - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Simplify vacuum_set_xid_limits()'s signature (minor refactoring)
Date
Msg-id CAH2-Wz=TE7gW5DgSahDkf0UEZigFGAoHNNN6EvSrdzC=Kn+hrA@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: How to *really* quit psql?
Next
From: Tom Lane
Date:
Subject: Re: How to *really* quit psql?