1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* nodeGroup.h
|
1997-09-07 01:04:48 -04:00
|
|
|
* prototypes for nodeGroup.c
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
2001-01-24 14:43:33 -05:00
|
|
|
* Portions Copyright (c) 1996-2001, 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
|
|
|
*
|
2001-10-28 01:26:15 -05:00
|
|
|
* $Id: nodeGroup.h,v 1.20 2001/10/28 06:26:06 momjian Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
1997-09-07 01:04:48 -04:00
|
|
|
#ifndef NODEGROUP_H
|
|
|
|
|
#define NODEGROUP_H
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1997-11-25 20:14:33 -05:00
|
|
|
#include "nodes/plannodes.h"
|
|
|
|
|
|
1997-09-08 17:56:23 -04:00
|
|
|
extern TupleTableSlot *ExecGroup(Group *node);
|
|
|
|
|
extern bool ExecInitGroup(Group *node, EState *estate, Plan *parent);
|
|
|
|
|
extern int ExecCountSlotsGroup(Group *node);
|
|
|
|
|
extern void ExecEndGroup(Group *node);
|
1998-07-15 21:49:19 -04:00
|
|
|
extern void ExecReScanGroup(Group *node, ExprContext *exprCtxt, Plan *parent);
|
1999-05-25 12:15:34 -04:00
|
|
|
|
2000-01-27 13:11:50 -05:00
|
|
|
extern bool execTuplesMatch(HeapTuple tuple1,
|
2000-04-12 13:17:23 -04:00
|
|
|
HeapTuple tuple2,
|
|
|
|
|
TupleDesc tupdesc,
|
|
|
|
|
int numCols,
|
|
|
|
|
AttrNumber *matchColIdx,
|
2000-07-11 22:37:39 -04:00
|
|
|
FmgrInfo *eqfunctions,
|
|
|
|
|
MemoryContext evalContext);
|
2000-01-27 13:11:50 -05:00
|
|
|
extern FmgrInfo *execTuplesMatchPrepare(TupleDesc tupdesc,
|
2000-04-12 13:17:23 -04:00
|
|
|
int numCols,
|
|
|
|
|
AttrNumber *matchColIdx);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
1998-09-01 00:40:42 -04:00
|
|
|
#endif /* NODEGROUP_H */
|