diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-17 03:25:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-17 03:25:04 +0000 |
commit | b19adc1aae8ec6c84d8c3f25919b866319d77a27 (patch) | |
tree | e5fd85bb3665b028b2494570ca55a744c78b8f62 /src/include/parser/parse_agg.h | |
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/parser/parse_agg.h')
-rw-r--r-- | src/include/parser/parse_agg.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/parser/parse_agg.h b/src/include/parser/parse_agg.h index e836310f82e..111d726bc9c 100644 --- a/src/include/parser/parse_agg.h +++ b/src/include/parser/parse_agg.h @@ -1,13 +1,12 @@ /*------------------------------------------------------------------------- * * parse_agg.h - * - * + * handle aggregates in parser * * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parse_agg.h,v 1.24 2002/06/20 20:29:51 momjian Exp $ + * $Id: parse_agg.h,v 1.25 2003/01/17 03:25:04 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,6 +15,6 @@ #include "parser/parse_node.h" -extern void parseCheckAggregates(ParseState *pstate, Query *qry, Node *qual); +extern void parseCheckAggregates(ParseState *pstate, Query *qry); #endif /* PARSE_AGG_H */ |