From d749027a1970ddcb717d3a10cc98c29ad9101813 Mon Sep 17 00:00:00 2001
From: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Date: Wed, 19 Aug 2026 16:00:40 +0200
Subject: Fix compilation warning after 0ee83dd4

---
 contrib/postgres_fdw/postgres_fdw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 6aaae58eff9..95b8fdc2240 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -3129,7 +3129,7 @@ postgresExplainForeignScan(ForeignScanState *node, ExplainState *es)
 			{
 				int			rti = strtol(ptr, &ptr, 10);
 				RangeTblEntry *rte;
-				char	   *relname;
+				char	   *relname = NULL;
 				char	   *refname;
 
 				rti += rtoffset;
-- 
2.55.0

