forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit59d3789
committed
Fix SIGSEGV in pruning for ScalarArrayOp with constant-null array.
Not much to be said here: commit9fdb675 should have checkedconstisnull, didn't.Per report from Piotr Włodarczyk. Back-patch to v11 wherebug was introduced.Discussion:https://postgr.es/m/CAP-dhMr+vRpwizEYjUjsiZ1vwqpohTm+3Pbdt6Pr7FEgPq9R0Q@mail.gmail.com1 parentedc793d commit59d3789
File tree
3 files changed
+82
-1
lines changed- src
- backend/partitioning
- test/regress
- expected
- sql
3 files changed
+82
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2054 | 2054 |
| |
2055 | 2055 |
| |
2056 | 2056 |
| |
2057 |
| - | |
| 2057 | + | |
2058 | 2058 |
| |
2059 | 2059 |
| |
2060 | 2060 |
| |
| |||
2063 | 2063 |
| |
2064 | 2064 |
| |
2065 | 2065 |
| |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
2066 | 2071 |
| |
2067 | 2072 |
| |
2068 | 2073 |
| |
|
Lines changed: 66 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1168 | 1168 |
| |
1169 | 1169 |
| |
1170 | 1170 |
| |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1171 | 1223 |
| |
1172 | 1224 |
| |
1173 | 1225 |
| |
| |||
3139 | 3191 |
| |
3140 | 3192 |
| |
3141 | 3193 |
| |
| 3194 | + | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
3142 | 3208 |
| |
3143 | 3209 |
| |
3144 | 3210 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 |
| |
184 | 191 |
| |
185 | 192 |
| |
| |||
799 | 806 |
| |
800 | 807 |
| |
801 | 808 |
| |
| 809 | + | |
| 810 | + | |
| 811 | + | |
802 | 812 |
| |
803 | 813 |
| |
804 | 814 |
| |
|
0 commit comments
Comments
(0)