Re: windows doesn't notice backend death

Поиск
Список
Период
Сортировка
От justin
Тема Re: windows doesn't notice backend death
Дата
Msg-id 49FDF5A8.4090505@emproshunts.com
обсуждение исходный текст
Ответ на Re: windows doesn't notice backend death  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: windows doesn't notice backend death  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Tom Lane wrote: <blockquote cite="mid:28338.1241374442@sss.pgh.pa.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
callsTerminateProcess() in the kernel32.dll and passes a 1 setting the exitcode to 1.  I have not found anything
clearlystating 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> 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: windows doesn't notice backend death
Следующее
От: Robert Haas
Дата:
Сообщение: Re: GEQO: ERX