projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b69db
)
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 18:00:20 +0000
(20:00 +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 6e5297a159b92e89b13c6a0a4233e6d4a9ad3149..f90e16ede8a90af4c12740cdba9cc3b8fb11331c 100644
(file)
--- a/
src/backend/executor/nodeHash.c
+++ b/
src/backend/executor/nodeHash.c
@@
-1168,6
+1168,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