Re: exit() behavior on Windows? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: exit() behavior on Windows?
Date
Msg-id 20872.1463261435@sss.pgh.pa.us
Whole thread Raw
In response to exit() behavior on Windows?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> If it's just a quick kill, then there's a totally separate bug here for
> Windows.  What is likely to happen with the current coding is that a
> failing child thread will queue its error message into the communication
> pipe, and then exit(1), thereby killing the whole pg_dump process before
> the master thread can receive and print the error.

Ah, scratch that --- I hadn't noticed the badly-underdocumented #ifdef
in exit_nicely().
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: 10.0
Next
From: Tom Lane
Date:
Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat