diff options
Diffstat (limited to 'src/backend/executor/nodeHash.c')
-rw-r--r-- | src/backend/executor/nodeHash.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/backend/executor/nodeHash.c b/src/backend/executor/nodeHash.c index c68052be2d2..10bfe9842cf 100644 --- a/src/backend/executor/nodeHash.c +++ b/src/backend/executor/nodeHash.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.9 1997/07/28 00:53:58 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.10 1997/08/19 21:31:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,6 +47,11 @@ static int HashTBSize; static void mk_hj_temp(char *tempname); static int hashFunc(char *key, int len); +static int ExecHashPartition(Hash *node); +static RelativeAddr hashTableAlloc(int size, HashJoinTable hashtable); +static void ExecHashOverflowInsert(HashJoinTable hashtable, + HashBucket bucket, + HeapTuple heapTuple); /* ---------------------------------------------------------------- * ExecHash @@ -258,7 +263,7 @@ ExecEndHash(Hash *node) ExecEndNode(outerPlan, (Plan*)node); } -RelativeAddr +static RelativeAddr hashTableAlloc(int size, HashJoinTable hashtable) { RelativeAddr p; @@ -577,7 +582,7 @@ ExecHashGetBucket(HashJoinTable hashtable, * insert into the overflow area of a hash bucket * ---------------------------------------------------------------- */ -void +static void ExecHashOverflowInsert(HashJoinTable hashtable, HashBucket bucket, HeapTuple heapTuple) @@ -790,7 +795,7 @@ hashFunc(char *key, int len) * determine the number of batches needed for a hashjoin * ---------------------------------------------------------------- */ -int +static int ExecHashPartition(Hash *node) { Plan *outerNode; |