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