projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6f802
)
Fix indentation in ExecParallelHashIncreaseNumBatches()
author
Alexander Korotkov
Mon, 8 Jan 2024 17:43:05 +0000
(19:43 +0200)
committer
Alexander Korotkov
Mon, 8 Jan 2024 17:57:09 +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 ce85a7725dd1197890e140ae02dcb2cc8a1800dc..e73a1d09af61ac8208c1c48dddaed9059f51ff2e 100644
(file)
--- a/
src/backend/executor/nodeHash.c
+++ b/
src/backend/executor/nodeHash.c
@@
-1173,6
+1173,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