WITH RECURSIVE bug
This commit is contained in:
nnuanyang
2023-12-18 04:48:51 -08:00
committed by pengjiong
parent 5b23f7fcb2
commit bcd6006ced

View File

@ -3420,6 +3420,9 @@ bool raw_expression_tree_walker(Node* node, bool (*walker)(), void* context)
return p2walker(((CommonTableExpr*)node)->ctequery, context);
case T_AutoIncrement:
return p2walker(((AutoIncrement*)node)->expr, context);
case T_UserVar:
/* @var do not need recursion */
break;
default:
ereport(ERROR,
(errcode(ERRCODE_UNRECOGNIZED_NODE_TYPE), errmsg("unrecognized node type: %d", (int)nodeTag(node))));