Rewrite hash join to use simple linked lists instead of a
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeHash.c | modified | +213 −372 |
| src/backend/executor/nodeHashjoin.c | modified | +196 −410 |
| src/include/executor/hashjoin.h | modified | +64 −57 |
| src/include/executor/nodeHash.h | modified | +7 −9 |
| src/include/executor/nodeHashjoin.h | modified | +2 −4 |