forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0d3c3aa
committed
Use procsignal_sigusr1_handler for auxiliary processes.
AuxiliaryProcessMain does ProcSignalInit, so one might expect thatauxiliary processes would need to respond to SendProcSignal, but noneof the auxiliary processes do that. Change them to useprocsignal_sigusr1_handler instead of their own private handlers sothat they do. Besides seeming more correct, this is also less code. Itshouldn't make any functional difference right now because, as far aswe know, there are no current cases where SendProcSignal targets anauxiliary process, but there are plans to change that in the future.Andres FreundDiscussion:http://postgr.es/m/20181030051643.elbxjww5jjgnjaxg@alap3.anarazel.de1 parent9af34f3 commit0d3c3aa
File tree
5 files changed
+11
-69
lines changed- src/backend
- postmaster
- replication
5 files changed
+11
-69
lines changedLines changed: 3 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
| |||
96 | 97 |
| |
97 | 98 |
| |
98 | 99 |
| |
99 |
| - | |
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
| 117 | + | |
121 | 118 |
| |
122 | 119 |
| |
123 | 120 |
| |
124 | 121 |
| |
125 | 122 |
| |
126 | 123 |
| |
127 | 124 |
| |
128 |
| - | |
| 125 | + | |
129 | 126 |
| |
130 | 127 |
| |
131 | 128 |
| |
| |||
427 | 424 |
| |
428 | 425 |
| |
429 | 426 |
| |
430 |
| - | |
431 |
| - | |
432 |
| - | |
433 |
| - | |
434 |
| - | |
435 |
| - | |
436 |
| - | |
437 |
| - | |
438 |
| - | |
439 |
| - | |
440 |
| - |
Lines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| 57 | + | |
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
| |||
179 | 180 |
| |
180 | 181 |
| |
181 | 182 |
| |
182 |
| - | |
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
| |||
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
214 |
| - | |
| 214 | + | |
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
| |||
853 | 853 |
| |
854 | 854 |
| |
855 | 855 |
| |
856 |
| - | |
857 |
| - | |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 |
| - | |
864 |
| - | |
865 |
| - | |
866 |
| - | |
867 | 856 |
| |
868 | 857 |
| |
869 | 858 |
| |
|
Lines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
50 | 51 |
| |
51 | 52 |
| |
52 | 53 |
| |
53 |
| - | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 | 90 |
| |
102 | 91 |
| |
103 | 92 |
| |
| |||
181 | 170 |
| |
182 | 171 |
| |
183 | 172 |
| |
184 |
| - | |
| 173 | + | |
185 | 174 |
| |
186 | 175 |
| |
187 | 176 |
| |
|
Lines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
| |||
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
89 |
| - | |
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| |||
337 | 337 |
| |
338 | 338 |
| |
339 | 339 |
| |
340 |
| - | |
341 |
| - | |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - |
Lines changed: 2 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
| |||
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 |
| - | |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
| 255 | + | |
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
| |||
766 | 766 |
| |
767 | 767 |
| |
768 | 768 |
| |
769 |
| - | |
770 |
| - | |
771 |
| - | |
772 |
| - | |
773 |
| - | |
774 |
| - | |
775 |
| - | |
776 |
| - | |
777 |
| - | |
778 |
| - | |
779 |
| - | |
780 | 769 |
| |
781 | 770 |
| |
782 | 771 |
| |
|
0 commit comments
Comments
(0)