diff options
| author | Jeff Davis | 2020-07-26 21:55:52 +0000 |
|---|---|---|
| committer | Jeff Davis | 2020-07-26 22:09:46 +0000 |
| commit | 200f6100a9f9fc71273aeb6aceac4430f3437195 (patch) | |
| tree | 4ad58de4794de64311c27fdaf348036ddca4bc69 /src/include | |
| parent | 56788d2156fc32bd5737e7ac716d70e6a269b7bc (diff) | |
Fix LookupTupleHashEntryHash() pipeline-stall issue.
Refactor hash lookups in nodeAgg.c to improve performance.
Author: Andres Freund and Jeff Davis
Discussion: https://postgr.es/m/20200612213715.op4ye4q7gktqvpuo%40alap3.anarazel.de
Backpatch-through: 13
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/executor/executor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index c7deeac662f..415e117407c 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -139,7 +139,7 @@ extern TupleHashTable BuildTupleHashTableExt(PlanState *parent, MemoryContext tempcxt, bool use_variable_hash_iv); extern TupleHashEntry LookupTupleHashEntry(TupleHashTable hashtable, TupleTableSlot *slot, - bool *isnew); + bool *isnew, uint32 *hash); extern uint32 TupleHashTableHash(TupleHashTable hashtable, TupleTableSlot *slot); extern TupleHashEntry LookupTupleHashEntryHash(TupleHashTable hashtable, |
