Re: Win32 WEXITSTATUS too simplistic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Win32 WEXITSTATUS too simplistic
Дата
Msg-id 28111.1167163278@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Win32 WEXITSTATUS too simplistic  ("Andrew Dunstan" <andrew@dunslane.net>)
Ответы Re: Win32 WEXITSTATUS too simplistic  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Anyone want to run down what we should really
>> be using instead of the above macros?

> The exit code is apparently what is reported from GetExitCodeProcess().
> For info on that see
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getexitcodeprocess.asp

> I think we are possibly seeing the third case, i.e. the code from an
> unhandled exception.  I haven't managed to find an API to handle them
> though ...

Right ... but I don't think we want to "handle the exception".  The
right question to be asking is "what is the encoding of these 'exception
values' it's talking about?"
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Bitmap index thoughts
Следующее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Win32 WEXITSTATUS too simplistic