diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-10-15 11:31:20 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-10-15 11:42:17 +1300 |
commit | e0950135ae5d50140feecc7bc87c018019c6e406 (patch) | |
tree | 35ed441f1cf54f518ae3e55f2c9d4ba4e9a23326 /doc/src | |
parent | 855b6f287100f3eab24df0a83998db251ac4fd09 (diff) |
Make WL_POSTMASTER_DEATH level-triggered on kqueue builds.
If WaitEventSetWait() reports that the postmaster has gone away, later
calls to WaitEventSetWait() should continue to report that. Otherwise
further waits that occur in the proc_exit() path after we already
noticed 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.us
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions