diff options
Diffstat (limited to 'src/backend/optimizer/util/var.c')
-rw-r--r-- | src/backend/optimizer/util/var.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/optimizer/util/var.c b/src/backend/optimizer/util/var.c index e4868af11cd..92ff0cd5b4c 100644 --- a/src/backend/optimizer/util/var.c +++ b/src/backend/optimizer/util/var.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/util/var.c,v 1.42 2002/12/14 00:17:59 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/util/var.c,v 1.43 2003/01/10 21:08:13 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -107,13 +107,13 @@ pull_varnos_walker(Node *node, pull_varnos_context *context) { /* * Already-planned subquery. Examine the args list (parameters to - * be passed to subquery), as well as the "oper" list which is + * be passed to subquery), as well as the exprs list which is * executed by the outer query. But short-circuit recursion into * the subquery itself, which would be a waste of effort. */ SubPlan *subplan = (SubPlan *) node; - if (pull_varnos_walker((Node *) subplan->oper, + if (pull_varnos_walker((Node *) subplan->exprs, context)) return true; if (pull_varnos_walker((Node *) subplan->args, @@ -190,13 +190,13 @@ contain_var_reference_walker(Node *node, { /* * Already-planned subquery. Examine the args list (parameters to - * be passed to subquery), as well as the "oper" list which is + * be passed to subquery), as well as the exprs list which is * executed by the outer query. But short-circuit recursion into * the subquery itself, which would be a waste of effort. */ SubPlan *subplan = (SubPlan *) node; - if (contain_var_reference_walker((Node *) subplan->oper, + if (contain_var_reference_walker((Node *) subplan->exprs, context)) return true; if (contain_var_reference_walker((Node *) subplan->args, |