Hi,

While reading src/include/nodes/extensible.h, I noticed that
CustomPathMethods was not correctly indented; this was because its
declaration was missing on typedefs.list. The attached patch fixes this.

--
Matheus Alcantara
EDB: https://www.enterprisedb.com
From d8fcb05d031a2945ce34fe1cb0904d940b07cbc6 Mon Sep 17 00:00:00 2001
From: Matheus Alcantara <[email protected]>
Date: Tue, 7 Jul 2026 10:17:43 -0300
Subject: [PATCH] Add missing CustomPathMethods on typedefs.list

---
 src/include/nodes/extensible.h   | 2 +-
 src/tools/pgindent/typedefs.list | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/include/nodes/extensible.h b/src/include/nodes/extensible.h
index 517db95c4a3..4d5a8c37b9f 100644
--- a/src/include/nodes/extensible.h
+++ b/src/include/nodes/extensible.h
@@ -103,7 +103,7 @@ typedef struct CustomPathMethods
        struct List *(*ReparameterizeCustomPathByChild) (PlannerInfo *root,
                                                                                
                         List *custom_private,
                                                                                
                         RelOptInfo *child_rel);
-}                      CustomPathMethods;
+} CustomPathMethods;
 
 /*
  * Custom scan.  Here again, there's not much to do: we need to be able to
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index ffb413ab612..793a304762d 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -613,6 +613,7 @@ CurrentOfExpr
 CustomExecMethods
 CustomOutPtrType
 CustomPath
+CustomPathMethods
 CustomScan
 CustomScanMethods
 CustomScanState
-- 
2.50.1 (Apple Git-155)

Reply via email to