Re: [HACKERS] Win32 WEXITSTATUS too - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [HACKERS] Win32 WEXITSTATUS too
Date
Msg-id 20070122184625.GL26006@alvh.no-ip.org
Whole thread Raw
In response to Re: [HACKERS] Win32 WEXITSTATUS too  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] Win32 WEXITSTATUS too
Re: [HACKERS] Win32 WEXITSTATUS too
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Win32 WEXITSTATUS too
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Win32 WEXITSTATUS too