pgsql: vacuumlazy.c: Further consolidate resource allocation.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: vacuumlazy.c: Further consolidate resource allocation.
Date: 2022-04-04 18:56:16
Message-ID: E1nbRs7-000JwP-Sd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)ie>
Discussion: https://postgr.es/m/CAH2-Wzk3fNBa_S3Ngi+16GQiyJ=AmUu3oUY99syMDTMRxitfyQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c42a6fc41dc22b42e5417224440c02893996afb4

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 72 +++++++++++++++---------------------
1 file changed, 30 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-04-04 20:23:41 pgsql: JSON_TABLE
Previous Message Peter Eisentraut 2022-04-04 18:08:02 pgsql: psql: Show all query results by default