diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-21 16:02:16 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-21 16:02:16 +0000 |
| commit | 95ef6a344821655ce4d0a74999ac49dd6af6d342 (patch) | |
| tree | df484a4c9dde9827894ab707917c001a1f376749 /src/backend/optimizer | |
| parent | 8c9c8ca2b57e4edef218245ccdc9eef7c06425d8 (diff) | |
First phase of SCHEMA changes, concentrating on fixing the grammar and
the parsetree representation. As yet we don't *do* anything with schema
names, just drop 'em on the floor; but you can enter schema-compatible
command syntax, and there's even a primitive CREATE SCHEMA command.
No doc updates yet, except to note that you can now extract a field
from a function-returning-row's result with (foo(...)).fieldname.
Diffstat (limited to 'src/backend/optimizer')
| -rw-r--r-- | src/backend/optimizer/util/clauses.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/optimizer/util/clauses.c b/src/backend/optimizer/util/clauses.c index 6585fb1905d..41cc4cdd537 100644 --- a/src/backend/optimizer/util/clauses.c +++ b/src/backend/optimizer/util/clauses.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.94 2002/03/12 00:51:50 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.95 2002/03/21 16:00:44 tgl Exp $ * * HISTORY * AUTHOR DATE MAJOR EVENT @@ -687,7 +687,7 @@ check_subplans_for_ungrouped_vars_walker(Node *node, rte = rt_fetch(var->varno, context->query->rtable); attname = get_rte_attribute_name(rte, var->varattno); elog(ERROR, "Sub-SELECT uses un-GROUPed attribute %s.%s from outer query", - rte->eref->relname, attname); + rte->eref->aliasname, attname); } } } @@ -1670,7 +1670,6 @@ expression_tree_walker(Node *node, return false; switch (nodeTag(node)) { - case T_Ident: case T_Const: case T_Var: case T_Param: @@ -1963,7 +1962,6 @@ expression_tree_mutator(Node *node, return NULL; switch (nodeTag(node)) { - case T_Ident: case T_Const: case T_Var: case T_Param: |
