Re: windows doesn't notice backend death

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: justin <justin(at)emproshunts(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows doesn't notice backend death
Date: 2009-05-03 20:03:14
Message-ID: 49FDF882.1050807@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-05-03 20:13:56 Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Previous Message Robert Haas 2009-05-03 20:03:07 Re: GEQO: ERX