We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c04e74d + 8cfe2f1 commit c88f29aCopy full SHA for c88f29a
src/backend/nodes/nodeFuncs.c
@@ -4465,17 +4465,12 @@ raw_expression_tree_walker_impl(Node *node,
4465
break;
4466
case T_ColumnRefOrFuncCall:
4467
{
4468
- FuncCall *fcall = ((ColumnRefOrFuncCall *) node)->func;
+ ColumnRefOrFuncCall *colf = (ColumnRefOrFuncCall *) node;
4469
4470
- if (WALK(fcall->args))
4471
- return true;
4472
- if (WALK(fcall->agg_order))
+ if (colf->cref && WALK(colf->cref))
4473
return true;
4474
- if (WALK(fcall->agg_filter))
+ if (colf->func && WALK(colf->func))
4475
4476
- if (WALK(fcall->over))
4477
4478
- /* function name is deemed uninteresting */
4479
}
4480
4481
case T_NamedArgExpr:
0 commit comments