Re: [HACKERS] Win32 WEXITSTATUS too

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] Win32 WEXITSTATUS too
Дата
Msg-id 20070122184625.GL26006@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [HACKERS] Win32 WEXITSTATUS too  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [HACKERS] Win32 WEXITSTATUS too  (Bruce Momjian <bruce@momjian.us>)
Re: [HACKERS] Win32 WEXITSTATUS too  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:
>
> I have applied a modified version of this patch.  We now print the
> exception value in hex, and give a URL where the exception can be looked
> up.

Humm, wouldn't it be more appropriate to put the URL in a errhint()
instead?

> +         ereport(lev,
> +
> +         /*------
> +           translator: %s is a noun phrase describing a child process, such as
> +           "server process" */
> +                 (errmsg("%s (PID %d) was terminated by exception %X\nSee
http://source.winehq.org/source/include/ntstatus.hfor a description\nof the hex value.", 
> +                         procname, pid, WTERMSIG(exitstatus))));
> + #endif


--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Win32 WEXITSTATUS too
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Win32 WEXITSTATUS too