forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitccd3802
committed
Introduce pg_signal_autovacuum_worker.
Since commit3a9b18b, roles with privileges of pg_signal_backendcannot signal autovacuum workers. Many users treated the abilityto signal autovacuum workers as a feature instead of a bug, so weare reintroducing it via a new predefined role. Having privilegesof this new role, named pg_signal_autovacuum_worker, only permitssignaling autovacuum workers. It does not permit signaling othertypes of superuser backends.Bumps catversion.Author: Kirill ReshkeReviewed-by: Anthony Leung, Michael Paquier, Andrey BorodinDiscussion:https://postgr.es/m/CALdSSPhC4GGmbnugHfB9G0%3DfAxjCSug_-rmL9oUh0LTxsyBfsg%40mail.gmail.com1 parent629520b commitccd3802
File tree
5 files changed
+56
-10
lines changed- doc/src/sgml
- src
- backend/storage/ipc
- include/catalog
5 files changed
+56
-10
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28163 | 28163 |
| |
28164 | 28164 |
| |
28165 | 28165 |
| |
| 28166 | + | |
| 28167 | + | |
| 28168 | + | |
| 28169 | + | |
28166 | 28170 |
| |
28167 | 28171 |
| |
28168 | 28172 |
| |
| |||
28237 | 28241 |
| |
28238 | 28242 |
| |
28239 | 28243 |
| |
| 28244 | + | |
| 28245 | + | |
| 28246 | + | |
| 28247 | + | |
28240 | 28248 |
| |
28241 | 28249 |
| |
28242 | 28250 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
661 | 661 |
| |
662 | 662 |
| |
663 | 663 |
| |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
664 | 669 |
| |
665 | 670 |
| |
666 | 671 |
| |
|
Lines changed: 37 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| |||
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
| 49 | + | |
48 | 50 |
| |
49 | 51 |
| |
50 | 52 |
| |
| |||
77 | 79 |
| |
78 | 80 |
| |
79 | 81 |
| |
80 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 |
| |
86 |
| - | |
87 |
| - | |
88 |
| - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
89 | 103 |
| |
90 | 104 |
| |
91 | 105 |
| |
| |||
130 | 144 |
| |
131 | 145 |
| |
132 | 146 |
| |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
133 | 154 |
| |
134 | 155 |
| |
135 | 156 |
| |
| |||
236 | 257 |
| |
237 | 258 |
| |
238 | 259 |
| |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
239 | 267 |
| |
240 | 268 |
| |
241 | 269 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 |
| |
103 | 108 |
|
0 commit comments
Comments
(0)