diff options
| author | Tom Lane | 2003-01-17 03:25:04 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-01-17 03:25:04 +0000 |
| commit | b19adc1aae8ec6c84d8c3f25919b866319d77a27 (patch) | |
| tree | e5fd85bb3665b028b2494570ca55a744c78b8f62 /src/include/optimizer | |
| parent | a4d82dd4b4725c12a64d87967719f7690a054cbd (diff) | |
Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code
that used to do it in planner. That was an ancient kluge that was
never satisfactory; errors should be detected at parse time when possible.
But at the time we didn't have the support mechanism (expression_tree_walker
et al) to make it convenient to do in the parser.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/clauses.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index 024c1599a4c..7ee0f1be2e4 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: clauses.h,v 1.60 2003/01/17 02:01:21 tgl Exp $ + * $Id: clauses.h,v 1.61 2003/01/17 03:25:04 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -52,7 +52,6 @@ extern bool expression_returns_set(Node *clause); extern bool contain_subplans(Node *clause); extern List *pull_subplans(Node *clause); -extern void check_subplans_for_ungrouped_vars(Query *query); extern bool contain_mutable_functions(Node *clause); extern bool contain_volatile_functions(Node *clause); |
