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: Remove unused xl_heap_prune member, reason
Date: Mon, 08 Sep 2025 18:29:04 +0000
Message-ID: <E1uvgbx-0019Sx-0x@gemulon.postgresql.org> (raw)

Remove unused xl_heap_prune member, reason

f83d709760d8 refactored xl_heap_prune and added an unused member,
reason. While PruneReason is used when constructing this WAL record to
set the WAL record definition, it doesn't need to be stored in a
separate field in the record. Remove it.

We won't backport this, since modifying an exposed struct definition to
remove an unused field would do more harm than good.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reported-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>

Discussion: https://postgr.es/m/tvvtfoxz5ykpsctxjbzxg3nldnzfc7geplrt2z2s54pmgto27y%40hbijsndifu45

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b5f206de2bb9152a99a5c218caf2580cc5a0e9e

Modified Files
--------------
src/include/access/heapam_xlog.h | 1 -
1 file changed, 1 deletion(-)



Message-ID: <E1uvgbx-0019Sx-0x@gemulon.postgresql.org>
Permalink:  ../E1uvgbx-0019Sx-0x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uvgbx-0019Sx-0x@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: Remove unused xl_heap_prune member, reason
  In-Reply-To: <E1uvgbx-0019Sx-0x@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