forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf98b847
committed
Use signals for postmaster death on FreeBSD.
Use FreeBSD 11.2's new support for detecting parent process death tomake PostmasterIsAlive() very cheap, as was done for Linux in anearlier commit.Author: Thomas MunroDiscussion:https://postgr.es/m/7261eb39-0369-f2f4-1bb5-62f3b6083b5e@iki.fi1 parent9f09529 commitf98b847
File tree
5 files changed
+14
-3
lines changed- src
- backend/storage/ipc
- include
- storage
5 files changed
+14
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12494 | 12494 |
| |
12495 | 12495 |
| |
12496 | 12496 |
| |
12497 |
| - | |
| 12497 | + | |
12498 | 12498 |
| |
12499 | 12499 |
| |
12500 | 12500 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1260 | 1260 |
| |
1261 | 1261 |
| |
1262 | 1262 |
| |
1263 |
| - | |
| 1263 | + | |
1264 | 1264 |
| |
1265 | 1265 |
| |
1266 | 1266 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
| 382 | + | |
| 383 | + | |
| 384 | + | |
382 | 385 |
| |
383 | 386 |
| |
384 | 387 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
603 | 603 |
| |
604 | 604 |
| |
605 | 605 |
| |
| 606 | + | |
| 607 | + | |
| 608 | + | |
606 | 609 |
| |
607 | 610 |
| |
608 | 611 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
| |||
66 | 70 |
| |
67 | 71 |
| |
68 | 72 |
| |
69 |
| - | |
| 73 | + | |
| 74 | + | |
70 | 75 |
| |
71 | 76 |
| |
72 | 77 |
| |
|
0 commit comments
Comments
(0)