aboutsummaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_gist.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:10:40 +0200
commit1a7c03e6fc75d2a5ee4893252d47f0549f078494 (patch)
tree1a23af50e8e71eddbaf240c50df717270e0fea4a /contrib/intarray/_int_gist.c
parent596eeb10972b30d3c3d6f8368b33378837bcd261 (diff)
downloadpostgresql-1a7c03e6fc75d2a5ee4893252d47f0549f078494.tar.gz
postgresql-1a7c03e6fc75d2a5ee4893252d47f0549f078494.zip
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 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions