vacuumlazy.c: Further consolidate resource allocation.

Peter Geoghegan <pg@bowt.ie>

Commit: c42a6fc41dc22b42e5417224440c02893996afb4
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2022-04-04T18:53:33Z
Releases: 15.0
vacuumlazy.c: Further consolidate resource allocation.

Move remaining VACUUM resource allocation and deallocation code from
lazy_scan_heap() to its caller, heap_vacuum_rel().  This finishes off
work started by commit 73f6ec3d.

Author: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-Wzk3fNBa_S3Ngi+16GQiyJ=AmUu3oUY99syMDTMRxitfyQ@mail.gmail.com

Files

PathChange+/−
src/backend/access/heap/vacuumlazy.c modified +30 −42

Discussion