1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* nodeAgg.h
|
2003-01-10 18:54:24 -05:00
|
|
|
* prototypes for nodeAgg.c
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
2004-12-31 17:04:05 -05:00
|
|
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2004-12-31 17:04:05 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeAgg.h,v 1.23 2004/12/31 22:03:29 pgsql Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
1997-09-07 01:04:48 -04:00
|
|
|
#ifndef NODEAGG_H
|
|
|
|
|
#define NODEAGG_H
|
1996-07-09 02:22:35 -04:00
|
|
|
|
2002-04-11 16:00:18 -04:00
|
|
|
#include "fmgr.h"
|
2002-12-05 10:50:39 -05:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-25 20:14:33 -05:00
|
|
|
|
1997-09-08 16:59:27 -04:00
|
|
|
extern int ExecCountSlotsAgg(Agg *node);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern AggState *ExecInitAgg(Agg *node, EState *estate);
|
|
|
|
|
extern TupleTableSlot *ExecAgg(AggState *node);
|
|
|
|
|
extern void ExecEndAgg(AggState *node);
|
|
|
|
|
extern void ExecReScanAgg(AggState *node, ExprContext *exprCtxt);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2002-04-11 16:00:18 -04:00
|
|
|
extern Datum aggregate_dummy(PG_FUNCTION_ARGS);
|
|
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODEAGG_H */
|