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 PageGetPruneXid() helper
Date: Thu, 05 Mar 2026 21:25:16 +0000
Message-ID: <E1vyGC4-002ZcB-22@gemulon.postgresql.org> (raw)

Add PageGetPruneXid() helper

This is similar to the other page accessors in bufpage.h. It improves
readability and avoids long lines.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/BD8B69E7-26D8-4706-9164-597C6AE57812%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/68c2dcb9130e8e3bc60676909676be1567c3cd51

Modified Files
--------------
src/backend/access/heap/pruneheap.c | 4 ++--
src/include/storage/bufpage.h       | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)



Message-ID: <E1vyGC4-002ZcB-22@gemulon.postgresql.org>
Permalink:  ../E1vyGC4-002ZcB-22@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vyGC4-002ZcB-22@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 PageGetPruneXid() helper
  In-Reply-To: <E1vyGC4-002ZcB-22@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