diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-01-04 04:31:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-01-04 04:31:43 +0000 |
commit | 4b05912f0b6aa69507bc32ac6ddaf8aeecdeb396 (patch) | |
tree | 2ff63f8cd09f1d5c628cefb16827c406ef40f014 /src/include/parser/parse_agg.h | |
parent | c629d3b9d65fdce320aba26d092bfe96274c6092 (diff) | |
download | postgresql-4b05912f0b6aa69507bc32ac6ddaf8aeecdeb396.tar.gz postgresql-4b05912f0b6aa69507bc32ac6ddaf8aeecdeb396.zip |
Fix for count(*), aggs with views and multiple tables and sum(3).
Diffstat (limited to 'src/include/parser/parse_agg.h')
-rw-r--r-- | src/include/parser/parse_agg.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/parser/parse_agg.h b/src/include/parser/parse_agg.h index 9761aa94e17..8d1e0fb31fd 100644 --- a/src/include/parser/parse_agg.h +++ b/src/include/parser/parse_agg.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_agg.h,v 1.3 1997/11/26 03:43:08 momjian Exp $ + * $Id: parse_agg.h,v 1.4 1998/01/04 04:31:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,8 @@ extern void AddAggToParseState(ParseState *pstate, Aggreg *aggreg); extern void finalizeAggregates(ParseState *pstate, Query *qry); extern void parseCheckAggregates(ParseState *pstate, Query *qry); -extern Aggreg *ParseAgg(char *aggname, Oid basetype, Node *target); +extern Aggreg *ParseAgg(ParseState *pstate, char *aggname, Oid basetype, + List *target, int precedence); extern void agg_error(char *caller, char *aggname, Oid basetypeID); #endif /* PARSE_AGG_H */ |