summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.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:32:58 +0200
commit714a987bc1333121bb83415f764076c8e7e8d8fb (patch)
tree67ce841c3a15a9949808d57dfaaab268e25b604b /src/backend/optimizer/util/pathnode.c
parent37c5516633c833de6bdb57a1752a2f8e8f0d5420 (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/optimizer/util/pathnode.c')
0 files changed, 0 insertions, 0 deletions