1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* nodeAgg.h
|
2003-01-11 00:54:24 +01:00
|
|
|
* prototypes for nodeAgg.c
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2004-12-31 23:04:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2004-12-31 23:04:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeAgg.h,v 1.23 2004/12/31 22:03:29 pgsql Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef NODEAGG_H
|
|
|
|
#define NODEAGG_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2002-04-11 22:00:18 +02:00
|
|
|
#include "fmgr.h"
|
2002-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-26 02:14:33 +01:00
|
|
|
|
1997-09-08 22:59:27 +02:00
|
|
|
extern int ExecCountSlotsAgg(Agg *node);
|
2002-12-05 16:50:39 +01: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 07:26:15 +01:00
|
|
|
|
2002-04-11 22:00:18 +02:00
|
|
|
extern Datum aggregate_dummy(PG_FUNCTION_ARGS);
|
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* NODEAGG_H */
|