- Notifications
You must be signed in to change notification settings - Fork28
Commitab2e2ce
committed
Reproduce debug_query_string==NULL on parallel workers.
Certain background workers initiate parallel queries whiledebug_query_string==NULL, at which point they attempted strlen(NULL) anddied to SIGSEGV. Older debug_query_string observers allow NULL, so dolikewise in these newer ones. Back-patch to v11, where commit7de4a1b introduced the first of these.Discussion:https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com1 parentee03baa commitab2e2ce
2 files changed
+36
-17
lines changedLines changed: 19 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3203 | 3203 |
| |
3204 | 3204 |
| |
3205 | 3205 |
| |
3206 |
| - | |
3207 | 3206 |
| |
3208 | 3207 |
| |
3209 | 3208 |
| |
| |||
3300 | 3299 |
| |
3301 | 3300 |
| |
3302 | 3301 |
| |
3303 |
| - | |
3304 |
| - | |
3305 |
| - | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
3306 | 3310 |
| |
3307 | 3311 |
| |
3308 | 3312 |
| |
| |||
3347 | 3351 |
| |
3348 | 3352 |
| |
3349 | 3353 |
| |
3350 |
| - | |
3351 |
| - | |
3352 |
| - | |
3353 |
| - | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
3354 | 3364 |
| |
3355 | 3365 |
| |
3356 | 3366 |
| |
| |||
3493 | 3503 |
| |
3494 | 3504 |
| |
3495 | 3505 |
| |
3496 |
| - | |
| 3506 | + | |
3497 | 3507 |
| |
3498 | 3508 |
| |
3499 | 3509 |
| |
|
Lines changed: 17 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1465 | 1465 |
| |
1466 | 1466 |
| |
1467 | 1467 |
| |
1468 |
| - | |
1469 | 1468 |
| |
1470 | 1469 |
| |
1471 | 1470 |
| |
| |||
1532 | 1531 |
| |
1533 | 1532 |
| |
1534 | 1533 |
| |
1535 |
| - | |
1536 |
| - | |
1537 |
| - | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1538 | 1542 |
| |
1539 | 1543 |
| |
1540 | 1544 |
| |
| |||
1598 | 1602 |
| |
1599 | 1603 |
| |
1600 | 1604 |
| |
1601 |
| - | |
1602 |
| - | |
1603 |
| - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1604 | 1613 |
| |
1605 | 1614 |
| |
1606 | 1615 |
| |
| |||
1805 | 1814 |
| |
1806 | 1815 |
| |
1807 | 1816 |
| |
1808 |
| - | |
| 1817 | + | |
1809 | 1818 |
| |
1810 | 1819 |
| |
1811 | 1820 |
| |
|
0 commit comments
Comments
(0)