projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c74435
)
Fix indentation in ExecParallelHashIncreaseNumBatches()
author
Alexander Korotkov
<
[email protected]
>
Mon, 8 Jan 2024 17:43:05 +0000
(19:43 +0200)
committer
Alexander Korotkov
<
[email protected]
>
Mon, 8 Jan 2024 17:58:51 +0000
(19:58 +0200)
Backpatch-through: 12
src/backend/executor/nodeHash.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/nodeHash.c
b/src/backend/executor/nodeHash.c
index 182aa9a216c031114484b90f5274ca25bbad9b0b..d70e624b674e36eb7b633f522d9857cdbc66f2ad 100644
(file)
--- a/
src/backend/executor/nodeHash.c
+++ b/
src/backend/executor/nodeHash.c
@@
-1154,6
+1154,7
@@
ExecParallelHashIncreaseNumBatches(HashJoinTable hashtable)
* array.
*/
dtuples = (old_batch0->ntuples * 2.0) / new_nbatch;
+
/*
* We need to calculate the maximum number of buckets to
* stay within the MaxAllocSize boundary. Round the