pgsql: Remove unused xl_heap_prune member, reason

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused xl_heap_prune member, reason
Date: 2025-09-08 18:29:04
Message-ID: E1uvgbx-0019Sx-0x@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reported-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Robert Haas <robertmhaas(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-09-08 19:20:02 pgsql: pg_upgrade: Transfer pg_largeobject_metadata's files when possib
Previous Message Robert Haas 2025-09-08 17:03:25 pgsql: Don't generate fake "*TLOCRN*" or "*TROCRN*" aliases, either.