pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unneeded field from VACUUM state.
Date: Tue, 15 Jun 2021 16:02:26 +0000
Message-ID: <E1ltBWE-0002Z2-76@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ltBWE-0002Z2-76@gemulon.postgresql.org>
Permalink:  ../E1ltBWE-0002Z2-76@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ltBWE-0002Z2-76@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie
  Subject: Re: pgsql: Remove unneeded field from VACUUM state.
  In-Reply-To: <E1ltBWE-0002Z2-76@gemulon.postgresql.org>
  References: <E1ltBWE-0002Z2-76@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox