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
|
|
|
*
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* Portions Copyright (c) 1996-2010, 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
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeAgg.h,v 1.32 2010/01/02 16:58:03 momjian 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-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-26 02:14:33 +01:00
|
|
|
|
2006-02-28 05:10:28 +01:00
|
|
|
extern AggState *ExecInitAgg(Agg *node, EState *estate, int eflags);
|
2002-12-05 16:50:39 +01:00
|
|
|
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
|
|
|
|
2005-01-28 20:34:28 +01:00
|
|
|
extern Size hash_agg_entry_size(int numAggs);
|
|
|
|
|
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 */
|