This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new e2ab42685ae Fix unrecognized node type error in recursive CTE
e2ab42685ae is described below

commit e2ab42685aeaa6d0abfb3cfa36883a31ce0f5596
Author: reshke <[email protected]>
AuthorDate: Thu Jan 1 11:51:19 2026 +0000

    Fix unrecognized node type error in recursive CTE
    
    Add T_A_Const to expression_tree_walker_impl's switch
---
 src/backend/nodes/nodeFuncs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/nodes/nodeFuncs.c b/src/backend/nodes/nodeFuncs.c
index 18ff54c9bd3..3fa4b80a507 100644
--- a/src/backend/nodes/nodeFuncs.c
+++ b/src/backend/nodes/nodeFuncs.c
@@ -2095,6 +2095,7 @@ expression_tree_walker_impl(Node *node,
                case T_AggExprId:
                case T_RowIdExpr:
                case T_CTESearchClause:
+               case T_A_Const:
                case T_Gather:
                case T_GatherMerge:
                        /* primitive node types with no expression subnodes */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to