Fix oversized memory allocation in Parallel Hash Join
Alexander Korotkov <akorotkov@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeHash.c | modified | +11 −2 |
Discussion
- BUG #16925: ERROR: invalid DSA memory alloc request size 1073741824 CONTEXT: parallel worker 10 messages · 2021-03-12 → 2024-01-07