Re: exit() behavior on Windows?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: exit() behavior on Windows?
Date: 2016-05-14 21:30:35
Message-ID: 20872.1463261435@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-05-14 22:45:13 Re: Parallel pg_dump's error reporting doesn't work worth squat
Previous Message Fabien COELHO 2016-05-14 19:56:27 Re: Perf Benchmarking and regression.