- Notifications
You must be signed in to change notification settings - Fork40
Commit14d7d61

Valeriy Zainullin
Check collector has started in pg_wait_sampling_reset_profile.
The worker might have not started yet or it may never start,because its registration was cancelled due to worker limit.This commit adds a check for NULL value of pgws_collector_hdr->latch.The previous usage in pg_wait_sampling.c has such a check, weshould do the same here.1 parentfafeda0 commit14d7d61
1 file changed
+18
-0
lines changedLines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
808 | 808 |
| |
809 | 809 |
| |
810 | 810 |
| |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
811 | 817 |
| |
812 | 818 |
| |
813 | 819 |
| |
| |||
819 | 825 |
| |
820 | 826 |
| |
821 | 827 |
| |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
822 | 840 |
| |
823 | 841 |
| |
824 | 842 |
| |
|
0 commit comments
Comments
(0)