forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a67b5a
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 parent5ef34a8 commit2a67b5a
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1155 | 1155 |
| |
1156 | 1156 |
| |
1157 | 1157 |
| |
| 1158 | + | |
1158 | 1159 |
| |
1159 | 1160 |
| |
1160 | 1161 |
| |
| |||
1167 | 1168 |
| |
1168 | 1169 |
| |
1169 | 1170 |
| |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1170 | 1179 |
| |
1171 |
| - | |
1172 |
| - | |
| 1180 | + | |
1173 | 1181 |
| |
1174 | 1182 |
| |
1175 | 1183 |
| |
|
0 commit comments
Comments
(0)