vacuumlazy.c: Further consolidate resource allocation.
commitc42a6fc41dc22b42e5417224440c02893996afb4
authorPeter Geoghegan <pg@bowt.ie>
Mon, 4 Apr 2022 18:53:33 +0000 (4 11:53 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 4 Apr 2022 18:53:33 +0000 (4 11:53 -0700)
treea2c24c585ed79e81ef416cc1066e7d96db288436
parent7844c9918a43b494adde3575891d217a37062378
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
src/backend/access/heap/vacuumlazy.c