Skip site navigation (1) Skip section navigation (2)

Re: pgwin32_open returning EINVAL

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgwin32_open returning EINVAL
Date: 2007-11-28 15:12:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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(at)svana(dot)org>
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

In response to


pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2007-11-28 15:20:37
Subject: Re: String encoding during connection "handshake"
Previous:From: Tom LaneDate: 2007-11-28 15:11:37
Subject: Re: PG 7.3 is five years old today

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group