On Sat, Mar 5, 2022 at 7:10 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> Or perhaps pg_ctl ought to pass CREATE_NEW_PROCESS_GROUP to CreateProcess()?
> The lack of a process group would explain why we're getting signalled on
> ctrl-c...
I thought that sounded promising, given that the recent Cirrus agent
commit you pointed to says "Always kill spawned shell's process group
to avoid pipe FD hangs", and given that we do something conceptually
similar on Unix. It doesn't seem to help, though...
https://cirrus-ci.com/task/5572163880091648