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: Add comment about keeping PD_ALL_VISIBLE and VM in sync
Date: Wed, 10 Dec 2025 16:32:43 +0000
Message-ID: <E1vTN7K-0000RR-1q@gemulon.postgresql.org> (raw)

Add comment about keeping PD_ALL_VISIBLE and VM in sync

The comment above heap_xlog_visible() about the critical integrity
requirement for PD_ALL_VISIBLE and the visibility map should also be in
heap_xlog_prune_freeze() where we set PD_ALL_VISIBLE.

Oversight in add323da40a6bf9e

Author: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_ZMw6Npd_qm2KM%2BFwQ3cMOMx1Dh3VMhp8-V7SOLxdK9-g%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/heapam_xlog.c | 6 ++++++
1 file changed, 6 insertions(+)



Message-ID: <E1vTN7K-0000RR-1q@gemulon.postgresql.org>
Permalink:  ../E1vTN7K-0000RR-1q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vTN7K-0000RR-1q@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: Add comment about keeping PD_ALL_VISIBLE and VM in sync
  In-Reply-To: <E1vTN7K-0000RR-1q@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