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:41:58 +1300 |
commit | b94109ce375b137f235149bfba3559c69f4573e7 (patch) | |
tree | 3bb52406abf05df6e4efe561082ba2a8a993294b /contrib/test_decoding/test_decoding.c | |
parent | a04daa97a4339c38e304cd6164d37da540d665a8 (diff) | |
download | postgresql-b94109ce375b137f235149bfba3559c69f4573e7.tar.gz postgresql-b94109ce375b137f235149bfba3559c69f4573e7.zip |
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 'contrib/test_decoding/test_decoding.c')
0 files changed, 0 insertions, 0 deletions