From 26069a58e8e4e4f3bef27e52d2d5cad2baa46c9f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 18 May 1999 21:33:06 +0000 Subject: Rewrite hash join to use simple linked lists instead of a fixed-size hashtable. This should prevent 'hashtable out of memory' errors, unless you really do run out of memory. Note: target size for hashtable is now taken from -S postmaster switch, not -B, since it is local memory in the backend rather than shared memory. --- src/include/executor/nodeHashjoin.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include/executor/nodeHashjoin.h') diff --git a/src/include/executor/nodeHashjoin.h b/src/include/executor/nodeHashjoin.h index cb917c73e91..7b6c8a6e845 100644 --- a/src/include/executor/nodeHashjoin.h +++ b/src/include/executor/nodeHashjoin.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeHashjoin.h,v 1.11 1999/02/13 23:21:26 momjian Exp $ + * $Id: nodeHashjoin.h,v 1.12 1999/05/18 21:33:05 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,9 +21,7 @@ extern TupleTableSlot *ExecHashJoin(HashJoin *node); extern bool ExecInitHashJoin(HashJoin *node, EState *estate, Plan *parent); extern int ExecCountSlotsHashJoin(HashJoin *node); extern void ExecEndHashJoin(HashJoin *node); -extern char *ExecHashJoinSaveTuple(HeapTuple heapTuple, char *buffer, - File file, char *position); +extern void ExecHashJoinSaveTuple(HeapTuple heapTuple, BufFile *file); extern void ExecReScanHashJoin(HashJoin *node, ExprContext *exprCtxt, Plan *parent); - #endif /* NODEHASHJOIN_H */ -- cgit v1.2.3