pgsql: Remove unneeded field from VACUUM state.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unneeded field from VACUUM state.
Date: 2021-06-15 16:02:26
Message-ID: E1ltBWE-0002Z2-76@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unneeded field from VACUUM state.

Bugfix commit 5fc89376 effectively made the lock_waiter_detected field
from vacuumlazy.c's global state struct into private state owned by
lazy_truncate_heap(). Finish this off by replacing the struct field
with a local variable.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/958cfbcf2dd338e3179c2d8a35f48bde020eba60

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2021-06-15 18:45:04 pgsql: Revert 29854ee8d1 due to buildfarm failures
Previous Message Alexander Korotkov 2021-06-15 13:08:39 pgsql: Add missing type name "multirange" in docs chapter title