pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove hastup from LVPagePruneState.
Date: Thu, 11 Jan 2024 18:43:02 +0000
Message-ID: <E1rO018-000x2F-Ru@gemulon.postgresql.org> (raw)

Remove hastup from LVPagePruneState.

Instead, just have lazy_scan_prune() and lazy_scan_noprune() update
LVRelState->nonempty_pages directly. This makes the two functions
more similar and also removes makes lazy_scan_noprune need one fewer
output parameters.

Melanie Plageman, reviewed by Andres Freund, Michael Paquier, and me

Discussion: http://postgr.es/m/CAAKRu_btji_wQdg=ok-5E4v_bGVxKYnnFFe7RA6Frc1EcOwtSg@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 53 +++++++++++++++++++-----------------
1 file changed, 28 insertions(+), 25 deletions(-)



Message-ID: <E1rO018-000x2F-Ru@gemulon.postgresql.org>
Permalink:  ../E1rO018-000x2F-Ru@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rO018-000x2F-Ru@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove hastup from LVPagePruneState.
  In-Reply-To: <E1rO018-000x2F-Ru@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