Hi,
The v1-0002 in [1] will call ReportBackgroundWorkerExit() which will send SIGUSR1 to 'bgw_notify_pid', but it may already exit in HandleChildCrash(), is this ok?
[1]https://commitfest.postgresql.org/patch/5844/
--Regards,ChangAo Chen