Fix pg_dump bug in the database-level collation patch. "datcollate" and
[PostgreSQL.git] / src / include / parser / parse_agg.h
blobad609179e179f46098742cf1c37c683c0b994283
1 /*-------------------------------------------------------------------------
3 * parse_agg.h
4 * handle aggregates in parser
6 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * $PostgreSQL$
11 *-------------------------------------------------------------------------
13 #ifndef PARSE_AGG_H
14 #define PARSE_AGG_H
16 #include "parser/parse_node.h"
18 extern void transformAggregateCall(ParseState *pstate, Aggref *agg);
20 extern void parseCheckAggregates(ParseState *pstate, Query *qry);
22 extern void build_aggregate_fnexprs(Oid *agg_input_types,
23 int agg_num_inputs,
24 Oid agg_state_type,
25 Oid agg_result_type,
26 Oid transfn_oid,
27 Oid finalfn_oid,
28 Expr **transfnexpr,
29 Expr **finalfnexpr);
31 #endif /* PARSE_AGG_H */