forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit72d5b27
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 parent49fa183 commit72d5b27
1 file changed
+11
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1141 | 1141 |
| |
1142 | 1142 |
| |
1143 | 1143 |
| |
| 1144 | + | |
1144 | 1145 |
| |
1145 | 1146 |
| |
1146 | 1147 |
| |
| |||
1153 | 1154 |
| |
1154 | 1155 |
| |
1155 | 1156 |
| |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
1156 | 1166 |
| |
1157 |
| - | |
1158 |
| - | |
| 1167 | + | |
1159 | 1168 |
| |
1160 | 1169 |
| |
1161 | 1170 |
| |
|
0 commit comments
Comments
(0)