forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfb5f1b2
committed
Merge three existing ways of signaling postmaster from child processes,
so that only one signal number is used not three. Flags in sharedmemory tell the reason(s) for the current signal. This method isextensible to handle more signal reasons without chewing up even moresignal numbers, but the immediate reason is to keep pg_pwd reloadsseparate from SIGHUP processing in the postmaster.Also clean up some problems in the postmaster with delayed response tocheckpoint status changes --- basically, it wouldn't schedule a checkpointif it wasn't getting connection requests on a regular basis.1 parent5f06772 commitfb5f1b2
File tree
8 files changed
+254
-121
lines changed- src
- backend
- access/transam
- commands
- postmaster
- storage/ipc
- include/storage
8 files changed
+254
-121
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
1048 | 1049 |
| |
1049 | 1050 |
| |
1050 | 1051 |
| |
1051 |
| - | |
| 1052 | + | |
1052 | 1053 |
| |
1053 | 1054 |
| |
1054 | 1055 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
| |||
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 |
| - | |
184 |
| - | |
| 183 | + | |
185 | 184 |
| |
186 | 185 |
| |
187 | 186 |
| |
|
0 commit comments
Comments
(0)