forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit741b84e
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 parent25b587f commit741b84e
1 file changed
+17
-8
lines changedLines changed: 17 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1341 | 1341 |
| |
1342 | 1342 |
| |
1343 | 1343 |
| |
1344 |
| - | |
1345 | 1344 |
| |
1346 | 1345 |
| |
1347 | 1346 |
| |
| |||
1404 | 1403 |
| |
1405 | 1404 |
| |
1406 | 1405 |
| |
1407 |
| - | |
1408 |
| - | |
1409 |
| - | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
1410 | 1414 |
| |
1411 | 1415 |
| |
1412 | 1416 |
| |
| |||
1470 | 1474 |
| |
1471 | 1475 |
| |
1472 | 1476 |
| |
1473 |
| - | |
1474 |
| - | |
1475 |
| - | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1476 | 1485 |
| |
1477 | 1486 |
| |
1478 | 1487 |
| |
| |||
1669 | 1678 |
| |
1670 | 1679 |
| |
1671 | 1680 |
| |
1672 |
| - | |
| 1681 | + | |
1673 | 1682 |
| |
1674 | 1683 |
| |
1675 | 1684 |
| |
|
0 commit comments
Comments
(0)