forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1a7c03e
committed
Fix oversized memory allocation in Parallel Hash Join
During the calculations of the maximum for the number of buckets, take intoaccount that later we round that to the next power of 2.Reported-by: Karen TalaricoBug: #16925Discussion:https://postgr.es/m/16925-ec96d83529d0d629%40postgresql.orgAuthor: Thomas Munro, Andrei Lepikhov, Alexander KorotkovReviewed-by: Alena RybakinaBackpatch-through: 121 parent596eeb1 commit1a7c03e
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1162 | 1162 |
| |
1163 | 1163 |
| |
1164 | 1164 |
| |
| 1165 | + | |
1165 | 1166 |
| |
1166 | 1167 |
| |
1167 | 1168 |
| |
| |||
1174 | 1175 |
| |
1175 | 1176 |
| |
1176 | 1177 |
| |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
1177 | 1186 |
| |
1178 |
| - | |
1179 |
| - | |
| 1187 | + | |
1180 | 1188 |
| |
1181 | 1189 |
| |
1182 | 1190 |
| |
|
0 commit comments
Comments
(0)