Subject: [PATCH 7/9] no need for palloc0 here -- simple palloc is enough

From: Álvaro Herrera <[email-masked]>
Date: Thu, 12 Mar 2026 16:13:49 +0100

---
 src/backend/replication/pgoutput_repack/pgoutput_repack.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/replication/pgoutput_repack/pgoutput_repack.c b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
index 61cd7c52ae6..73aa6f0589c 100644
--- a/src/backend/replication/pgoutput_repack/pgoutput_repack.c
+++ b/src/backend/replication/pgoutput_repack/pgoutput_repack.c
@@ -197,8 +197,8 @@ store_change(LogicalDecodingContext *ctx, Relation relation,
 		bool	   *isnull;
 
 		desc = RelationGetDescr(relation);
-		attrs = palloc0_array(Datum, desc->natts);
-		isnull = palloc0_array(bool, desc->natts);
+		attrs = palloc_array(Datum, desc->natts);
+		isnull = palloc_array(bool, desc->natts);
 
 		heap_deform_tuple(tuple, desc, attrs, isnull);
 
-- 
2.47.3

--pnppmxqkefjd4hu2
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment;
	filename*0="0008-XXX-devel-comment-heap_deform_tuple-slot_deform_tupl.noc";
	filename*1="fbot.txt"