From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Simplify vacuum_set_xid_limits()'s signature (minor refactoring) |
Date: | 2022-11-19 19:42:55 |
Message-ID: | CAH2-Wz=TE7gW5DgSahDkf0UEZigFGAoHNNN6EvSrdzC=Kn+hrA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
v1-0001-Simplify-vacuum_set_xid_limits-signature.patch | application/octet-stream | 11.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-11-19 19:49:37 | Re: How to *really* quit psql? |
Previous Message | Greg Stark | 2022-11-19 19:39:04 | Re: How to *really* quit psql? |