pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename LVRelState->frozen_pages
Date: Tue, 17 Dec 2024 19:21:18 +0000
Message-ID: <E1tNd8A-0004w7-39@gemulon.postgresql.org> (raw)

Rename LVRelState->frozen_pages

Rename frozen_pages to new_frozen_tuple_pages in LVRelState, the struct
used for tracking state during vacuuming of a heap relation.
frozen_pages sounds like it tracks pages set all-frozen. That is a
misnomer. It only includes pages with at least one newly frozen tuple.
It also includes pages that are not all-frozen.

Author: Melanie Plageman
Reviewed-by: Andres Freund, Masahiko Sawada, Nitin Jadhav, Bilal Yavuz

Discussion: https://postgr.es/m/ctdjzroezaxmiyah3gwbwm67defsrwj2b5fpfs4ku6msfpxeia%40mwjyqlhwr2wu

Branch
------
master

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

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



Message-ID: <E1tNd8A-0004w7-39@gemulon.postgresql.org>
Permalink:  ../E1tNd8A-0004w7-39@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tNd8A-0004w7-39@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: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename LVRelState->frozen_pages
  In-Reply-To: <E1tNd8A-0004w7-39@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