From: Melanie Plageman Date: Mon, 8 Sep 2025 18:25:10 +0000 (-0400) Subject: Remove unused xl_heap_prune member, reason X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=4b5f206de2bb9152a99a5c218caf2580cc5a0e9e;p=postgresql.git 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 Reported-by: Andres Freund Reviewed-by: Robert Haas Discussion: https://postgr.es/m/tvvtfoxz5ykpsctxjbzxg3nldnzfc7geplrt2z2s54pmgto27y%40hbijsndifu45 --- diff --git a/src/include/access/heapam_xlog.h b/src/include/access/heapam_xlog.h index 277df6b3cf0..d4c0625b632 100644 --- a/src/include/access/heapam_xlog.h +++ b/src/include/access/heapam_xlog.h @@ -284,7 +284,6 @@ typedef struct xl_heap_update */ typedef struct xl_heap_prune { - uint8 reason; uint8 flags; /*

AltStyle によって変換されたページ (->オリジナル) /