Re: Re: Re: WIN32 errno patch - Mailing list pgsql-hackers

From Magnus Naeslund\(f\)
Subject Re: Re: Re: WIN32 errno patch
Date
Msg-id 021801c12355$f07fbc60$020a0a0a@totalmef
Whole thread Raw
In response to WIN32 errno patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Forgot to CC.

Magnus
----- Original Message -----
From: "Magnus Naeslund(f)" <mag@fbab.net>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Sent: Sunday, August 12, 2001 1:19 PM
Subject: Re: [HACKERS] Re: Re: WIN32 errno patch


> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> > >> It does not even compile:
> > > Same behaviour here.
> >
> > When someone sends me a Windoze implementation of the proposed
> > SOCK_STRERROR() macro, I'll see about fixing it.  Till then
> > I can't do much.
>
> As I said, the FormatMessage function is probably what we want.
> I did a non threadsafe (not a crash thing, just if SOCK_STRERROR is called
> the exact same time by two threads one thread will probably get the other
> thread's message).
>
> The code + the testcase is attached.
>
> > regards, tom lane
>
> Magnus Naeslund
>
>
>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [JDBC] JDBC pg_description update needed for CVS tip
Next
From: Allan Engelhardt
Date:
Subject: Re: Comparing tables in different db's