summaryrefslogtreecommitdiff
path: root/src/backend/executor/execPartition.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2024-01-07 09:03:55 +0200
committerAlexander Korotkov <akorotkov@postgresql.org>2024-01-07 09:11:00 +0200
commit60de25c6efc8e5283094c74824f46f71ae483a8f (patch)
treebfc6fd5528375181c44cdb4ba8ee68bcac28b953 /src/backend/executor/execPartition.c
parent42afeae7b6db06c04ee5de7226b6b86e41b11da2 (diff)
Fix oversized memory allocation in Parallel Hash Join
During the calculations of the maximum for the number of buckets, take into account that later we round that to the next power of 2. Reported-by: Karen Talarico Bug: #16925 Discussion: https://postgr.es/m/16925-ec96d83529d0d629%40postgresql.org Author: Thomas Munro, Andrei Lepikhov, Alexander Korotkov Reviewed-by: Alena Rybakina Backpatch-through: 12
Diffstat (limited to 'src/backend/executor/execPartition.c')
0 files changed, 0 insertions, 0 deletions