On Sat, Mar 5, 2022 at 10:56 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> I suspect one also needs the console detach thing.
I tried adding DETACHED_PROCESS (which should be like calling
FreeConsole() in child process) and then I tried CREATE_NEW_CONSOLE
instead, on top of CREATE_NEW_PROCESS_GROUP. Neither helped, though I
lost the postmaster's output.
Things I tried and their output are here:
https://github.com/macdice/postgres/commits/hack3