projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e8b86
)
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:57:58 +0000
(19:57 +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 40ddfa32d599f1dfe426626938de1b5e63363eac..945ac5067e2ec8947aec6493953e4fe1e665f213 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