diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-18 21:33:06 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-18 21:33:06 +0000 |
commit | 26069a58e8e4e4f3bef27e52d2d5cad2baa46c9f (patch) | |
tree | c40f7d3e130df1fce0e1fc73520b9e465c02a607 /src/include/executor/nodeHashjoin.h | |
parent | d261a5ec861c001f0331e36e01499d8dde7f5c67 (diff) | |
download | postgresql-26069a58e8e4e4f3bef27e52d2d5cad2baa46c9f.tar.gz postgresql-26069a58e8e4e4f3bef27e52d2d5cad2baa46c9f.zip |
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.
Diffstat (limited to 'src/include/executor/nodeHashjoin.h')
-rw-r--r-- | src/include/executor/nodeHashjoin.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 */ |