Re: windows doesn't notice backend death - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: windows doesn't notice backend death
Date
Msg-id 49FDF882.1050807@dunslane.net
Whole thread Raw
In response to Re: windows doesn't notice backend death  (justin <justin@emproshunts.com>)
Responses Re: windows doesn't notice backend death  (justin <justin@emproshunts.com>)
Re: windows doesn't notice backend death  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers

justin wrote:
> Tom Lane wrote:
>>   Have M$ really been stupid
>> enough to make an external kill look just like an exit() call?
>>
>>             regards, tom lane
>>
>>   
> kind of :-(
>
>
>
> Would it not be easy to set the normal exitcode to something other 
> than 1 to see the difference
> ExitProcess()
>

Not really, as Tom showed later this is an example of a more general 
problem. I think his solution of detecting when backends have cleaned up 
nicely and when they have not is the right way to go.

cheers

andrew


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: GEQO: ERX
Next
From: Robert Haas
Date:
Subject: Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT