pgsql: Rename LVRelState VM-related logging counters

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename LVRelState VM-related logging counters
Date: 2026-02-26 20:07:22
Message-ID: E1vvhdq-001IWm-26@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename LVRelState VM-related logging counters

The LVRelState fields that track newly all-visible/all-frozen pages were
previously named vm_new_visible_pages, vm_new_frozen_pages, and
vm_new_visible_frozen_pages. The correct terminology is all-visible and
all-frozen; omitting “all” was open to misinterpretation, as the page
isn't visible or invisible, rather all the tuples on the page are
visible to all running and future transactions. Rename the members
accordingly.

Author: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/bqc4kh5midfn44gnjiqez3bjqv4zogydguvdn446riw45jcf3y%404ez66il7ebvk

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5aea60839ba30440b1e1448dffc8334bbcf1a59a

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 41 ++++++++++++++++++------------------
1 file changed, 21 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-02-26 20:21:31 pgsql: Fix memory leaks in pg_locale_icu.c.
Previous Message Tom Lane 2026-02-26 17:27:00 pgsql: Fix Solution.pm for change in pg_config.h contents.