Re: pgwin32_open returning EINVAL - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: pgwin32_open returning EINVAL
Date
Msg-id 20071128151258.GB31742@svana.org
Whole thread Raw
In response to pgwin32_open returning EINVAL  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: pgwin32_open returning EINVAL
List pgsql-hackers
On Wed, Nov 28, 2007 at 11:57:35AM -0300, Alvaro Herrera wrote:
> Can we do something like this to report the Win32 error code so that the
> user has a higher chance of figuring out what's going on?

The Windows API provides a way to get the error message associated
with the code. It seems it would be more user-friendly if the message
was displayed (just as for unix) rather than the code.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG 7.3 is five years old today
Next
From: Martijn van Oosterhout
Date:
Subject: Re: String encoding during connection "handshake"