projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7432f
)
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:38 +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 bdeff24950c7a1d928278da329da3a8b45d597a0..4d64ae0dcc23b5693e395b5fba5806753a93b2b9 100644
(file)
--- a/
src/backend/executor/nodeHash.c
+++ b/
src/backend/executor/nodeHash.c
@@
-1175,6
+1175,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