From: | "Magnus Naeslund\(f\)" <mag(at)fbab(dot)net> |
---|---|
To: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Re: WIN32 errno patch |
Date: | 2001-08-12 17:40:55 |
Message-ID: | 021801c12355$f07fbc60$020a0a0a@totalmef |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Forgot to CC.
Magnus
----- Original Message -----
From: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Sunday, August 12, 2001 1:19 PM
Subject: Re: [HACKERS] Re: Re: WIN32 errno patch
> From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Allan Engelhardt | 2001-08-12 18:48:50 | Re: Comparing tables in different db's |
Previous Message | Tom Lane | 2001-08-12 16:31:41 | Re: [JDBC] JDBC pg_description update needed for CVS tip |