diff options
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/executor.h | 27 | ||||
-rw-r--r-- | src/include/executor/nodeAgg.h | 4 | ||||
-rw-r--r-- | src/include/executor/nodeGroup.h | 13 | ||||
-rw-r--r-- | src/include/executor/nodeHash.h | 5 |
4 files changed, 31 insertions, 18 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 31cc2107536..fb300fc0443 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.85 2002/12/15 21:01:34 tgl Exp $ + * $Id: executor.h,v 1.86 2003/01/10 23:54:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -37,6 +37,31 @@ extern void ExecRestrPos(PlanState *node); extern bool ExecSupportsMarkRestore(NodeTag plantype); /* + * prototypes from functions in execGrouping.c + */ +extern bool execTuplesMatch(HeapTuple tuple1, + HeapTuple tuple2, + TupleDesc tupdesc, + int numCols, + AttrNumber *matchColIdx, + FmgrInfo *eqfunctions, + MemoryContext evalContext); +extern FmgrInfo *execTuplesMatchPrepare(TupleDesc tupdesc, + int numCols, + AttrNumber *matchColIdx); +extern uint32 ComputeHashFunc(Datum key, int typLen, bool byVal); +extern TupleHashTable BuildTupleHashTable(int numCols, AttrNumber *keyColIdx, + FmgrInfo *eqfunctions, + int nbuckets, Size entrysize, + MemoryContext tablecxt, + MemoryContext tempcxt); +extern TupleHashEntry LookupTupleHashEntry(TupleHashTable hashtable, + TupleTableSlot *slot, + bool *isnew); +extern TupleHashEntry ScanTupleHashTable(TupleHashTable hashtable, + TupleHashIterator *state); + +/* * prototypes from functions in execJunk.c */ extern JunkFilter *ExecInitJunkFilter(List *targetList, TupleDesc tupType, diff --git a/src/include/executor/nodeAgg.h b/src/include/executor/nodeAgg.h index 036d67ccaad..a2817306da0 100644 --- a/src/include/executor/nodeAgg.h +++ b/src/include/executor/nodeAgg.h @@ -1,13 +1,13 @@ /*------------------------------------------------------------------------- * * nodeAgg.h - * + * prototypes for nodeAgg.c * * * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeAgg.h,v 1.18 2002/12/05 15:50:36 tgl Exp $ + * $Id: nodeAgg.h,v 1.19 2003/01/10 23:54:24 tgl Exp $ * *------------------------------------------------------------------------- */ diff --git a/src/include/executor/nodeGroup.h b/src/include/executor/nodeGroup.h index 211e55b6cad..2a6b733c9d2 100644 --- a/src/include/executor/nodeGroup.h +++ b/src/include/executor/nodeGroup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeGroup.h,v 1.23 2002/12/05 15:50:37 tgl Exp $ + * $Id: nodeGroup.h,v 1.24 2003/01/10 23:54:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -22,15 +22,4 @@ extern TupleTableSlot *ExecGroup(GroupState *node); extern void ExecEndGroup(GroupState *node); extern void ExecReScanGroup(GroupState *node, ExprContext *exprCtxt); -extern bool execTuplesMatch(HeapTuple tuple1, - HeapTuple tuple2, - TupleDesc tupdesc, - int numCols, - AttrNumber *matchColIdx, - FmgrInfo *eqfunctions, - MemoryContext evalContext); -extern FmgrInfo *execTuplesMatchPrepare(TupleDesc tupdesc, - int numCols, - AttrNumber *matchColIdx); - #endif /* NODEGROUP_H */ diff --git a/src/include/executor/nodeHash.h b/src/include/executor/nodeHash.h index 02e56355263..da1113b32da 100644 --- a/src/include/executor/nodeHash.h +++ b/src/include/executor/nodeHash.h @@ -1,13 +1,13 @@ /*------------------------------------------------------------------------- * * nodeHash.h - * + * prototypes for nodeHash.c * * * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeHash.h,v 1.28 2002/12/30 15:21:23 tgl Exp $ + * $Id: nodeHash.h,v 1.29 2003/01/10 23:54:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -38,6 +38,5 @@ extern void ExecChooseHashTableSize(double ntuples, int tupwidth, int *virtualbuckets, int *physicalbuckets, int *numbatches); -extern uint32 ComputeHashFunc(Datum key, int typLen, bool byVal); #endif /* NODEHASH_H */ |