From: | justin <justin(at)emproshunts(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, 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 19:51:04 |
Message-ID: | 49FDF5A8.4090505@emproshunts.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom Lane wrote:
<blockquote cite="mid:28338(dot)1241374442(at)sss(dot)pgh(dot)pa(dot)us" type="cite">
<pre wrap=""> Have M$ really been stupid
enough to make an external kill look just like an exit() call?
regards, tom lane
</pre>
</blockquote>
<font face="Arial">kind of :-(<br>
<br>
Everything i have read seems to point the Task Manager calls
TerminateProcess() in the kernel32.dll and passes a 1 setting the
exitcode to 1. I have not found anything clearly stating that, yet
logic points that is what its doing. <br>
<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms686714(VS.85).aspx</a><br>
<br>
Would it not be easy to set the normal exitcode to something other than
1 to see the difference <br>
ExitProcess()<br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/ms682658(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms682658(VS.85).aspx</a><br>
<br>
<br>
this article maybe helpful. <br>
<a class="moz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/ms686722(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms686722(VS.85).aspx</a><br>
<br>
BTW tested on Windows 2003 SP1 this problem shows up in Postgresql
8.3.3<br>
</font>
</body>
</html>
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/html | 1.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2009-05-03 20:03:07 | Re: GEQO: ERX |
Previous Message | Tom Lane | 2009-05-03 19:04:27 | Re: windows doesn't notice backend death |