- Notifications
You must be signed in to change notification settings - Fork28
Commit4c728f3
committed
Pass the source text for a parallel query to the workers.
With this change, you can see the query that a parallel worker isexecuting in pg_stat_activity, and if the worker crashes you cansee what query it was executing when it crashed.Rafia Sabih, reviewed by Kuntal Ghosh and Amit Kapila and slightlyrevised by me.1 parentb431692 commit4c728f3
File tree
4 files changed
+29
-1
lines changed- src
- backend/executor
- include/nodes
4 files changed
+29
-1
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
| 193 | + | |
| 194 | + | |
193 | 195 |
| |
194 | 196 |
| |
195 | 197 |
| |
|
Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
| 55 | + | |
54 | 56 |
| |
55 | 57 |
| |
56 | 58 |
| |
| |||
368 | 370 |
| |
369 | 371 |
| |
370 | 372 |
| |
| 373 | + | |
| 374 | + | |
371 | 375 |
| |
372 | 376 |
| |
373 | 377 |
| |
| |||
387 | 391 |
| |
388 | 392 |
| |
389 | 393 |
| |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
390 | 399 |
| |
391 | 400 |
| |
392 | 401 |
| |
| |||
451 | 460 |
| |
452 | 461 |
| |
453 | 462 |
| |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
454 | 468 |
| |
455 | 469 |
| |
456 | 470 |
| |
| |||
661 | 675 |
| |
662 | 676 |
| |
663 | 677 |
| |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
664 | 682 |
| |
665 | 683 |
| |
666 | 684 |
| |
| |||
679 | 697 |
| |
680 | 698 |
| |
681 | 699 |
| |
682 |
| - | |
| 700 | + | |
683 | 701 |
| |
684 | 702 |
| |
685 | 703 |
| |
| |||
799 | 817 |
| |
800 | 818 |
| |
801 | 819 |
| |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
802 | 826 |
| |
803 | 827 |
| |
804 | 828 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
| 374 | + | |
374 | 375 |
| |
375 | 376 |
| |
376 | 377 |
| |
|
0 commit comments
Comments
(0)