forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73852bd
committed
Fix some sloppiness in the recent multiple-autovacuum-worker patch. It was
not bothering to initialize is_autovacuum for regular backends, meaning therewas a significant chance of the postmaster prematurely sending them SIGTERMduring database shutdown. Also, leaving the cancel key unset for an autovacworker meant that any client could send it SIGINT, which doesn't soundespecially good either.1 parent3f0245c commit73852bd
1 file changed
+16
-6
lines changedLines changed: 16 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
2705 | 2705 |
| |
2706 | 2706 |
| |
2707 | 2707 |
| |
| 2708 | + | |
2708 | 2709 |
| |
2709 | 2710 |
| |
2710 | 2711 |
| |
| |||
3925 | 3926 |
| |
3926 | 3927 |
| |
3927 | 3928 |
| |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
3928 | 3937 |
| |
3929 | 3938 |
| |
3930 | 3939 |
| |
3931 | 3940 |
| |
3932 |
| - | |
3933 |
| - | |
3934 |
| - | |
3935 | 3941 |
| |
3936 | 3942 |
| |
| 3943 | + | |
| 3944 | + | |
3937 | 3945 |
| |
3938 | 3946 |
| |
3939 | 3947 |
| |
| |||
3949 | 3957 |
| |
3950 | 3958 |
| |
3951 | 3959 |
| |
3952 |
| - | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
3953 | 3963 |
| |
3954 | 3964 |
| |
3955 | 3965 |
| |
|
0 commit comments
Comments
(0)