1 /*-------------------------------------------------------------------------
4 * handle aggregates and window functions in parser
6 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
11 *-------------------------------------------------------------------------
16 #include "parser/parse_node.h"
18 extern void transformAggregateCall(ParseState
*pstate
, Aggref
*agg
);
19 extern void transformWindowFuncCall(ParseState
*pstate
, WindowFunc
*wfunc
,
22 extern void parseCheckAggregates(ParseState
*pstate
, Query
*qry
);
23 extern void parseCheckWindowFuncs(ParseState
*pstate
, Query
*qry
);
25 extern void build_aggregate_fnexprs(Oid
*agg_input_types
,
34 #endif /* PARSE_AGG_H */