OSDN Git Service

First stage of reclaiming memory in executor by resetting short-term
[pg-rex/syncrep.git] / src / include / executor / nodeGroup.h
1 /*-------------------------------------------------------------------------
2  *
3  * nodeGroup.h
4  *        prototypes for nodeGroup.c
5  *
6  *
7  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: nodeGroup.h,v 1.17 2000/07/12 02:37:30 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODEGROUP_H
15 #define NODEGROUP_H
16
17 #include "nodes/plannodes.h"
18
19 extern TupleTableSlot *ExecGroup(Group *node);
20 extern bool ExecInitGroup(Group *node, EState *estate, Plan *parent);
21 extern int      ExecCountSlotsGroup(Group *node);
22 extern void ExecEndGroup(Group *node);
23 extern void ExecReScanGroup(Group *node, ExprContext *exprCtxt, Plan *parent);
24
25 extern bool execTuplesMatch(HeapTuple tuple1,
26                                 HeapTuple tuple2,
27                                 TupleDesc tupdesc,
28                                 int numCols,
29                                 AttrNumber *matchColIdx,
30                                 FmgrInfo *eqfunctions,
31                                 MemoryContext evalContext);
32 extern FmgrInfo *execTuplesMatchPrepare(TupleDesc tupdesc,
33                                            int numCols,
34                                            AttrNumber *matchColIdx);
35
36 #endif   /* NODEGROUP_H */