1 /*-------------------------------------------------------------------------
2  *
3  * nodeAgg.h
4  *	  prototypes for nodeAgg.c
5  *
6  *
7  * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/executor/nodeAgg.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODEAGG_H
15 #define NODEAGG_H
16 
17 #include "nodes/execnodes.h"
18 
19 extern AggState *ExecInitAgg(Agg *node, EState *estate, int eflags);
20 extern TupleTableSlot *ExecAgg(AggState *node);
21 extern void ExecEndAgg(AggState *node);
22 extern void ExecReScanAgg(AggState *node);
23 
24 extern Size hash_agg_entry_size(int numAggs);
25 
26 extern Datum aggregate_dummy(PG_FUNCTION_ARGS);
27 
28 #endif   /* NODEAGG_H */
29