forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbe75581
committed
When a background worker exists with code 0, unregister it.
The previous behavior was to restart immediately, which was generallyviewed as less useful.Petr Jelinek, with some adjustments by me.1 parent7572b77 commitbe75581
File tree
4 files changed
+23
-11
lines changed- doc/src/sgml
- src
- backend/postmaster
- include/postmaster
4 files changed
+23
-11
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 |
| |
174 | 180 |
| |
175 | 181 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
884 | 884 |
| |
885 | 885 |
| |
886 | 886 |
| |
887 |
| - | |
888 |
| - | |
| 887 | + | |
| 888 | + | |
889 | 889 |
| |
890 | 890 |
| |
891 | 891 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2845 | 2845 |
| |
2846 | 2846 |
| |
2847 | 2847 |
| |
2848 |
| - | |
2849 | 2848 |
| |
| 2849 | + | |
| 2850 | + | |
2850 | 2851 |
| |
| 2852 | + | |
2851 | 2853 |
| |
| 2854 | + | |
| 2855 | + | |
2852 | 2856 |
| |
| 2857 | + | |
| 2858 | + | |
2853 | 2859 |
| |
2854 | 2860 |
| |
2855 | 2861 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
0 commit comments
Comments
(0)