forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb94109c
committed
Make WL_POSTMASTER_DEATH level-triggered on kqueue builds.
If WaitEventSetWait() reports that the postmaster has gone away, latercalls to WaitEventSetWait() should continue to report that. Otherwisefurther waits that occur in the proc_exit() path after we alreadynoticed the postmaster's demise could block forever.Back-patch to 13, where the kqueue support landed.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/3624029.1602701929%40sss.pgh.pa.us1 parenta04daa9 commitb94109c
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1492 | 1492 |
| |
1493 | 1493 |
| |
1494 | 1494 |
| |
1495 |
| - | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1496 | 1499 |
| |
1497 | 1500 |
| |
1498 | 1501 |
| |
| |||
1563 | 1566 |
| |
1564 | 1567 |
| |
1565 | 1568 |
| |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1566 | 1576 |
| |
1567 | 1577 |
| |
1568 | 1578 |
| |
|
0 commit comments
Comments
(0)