Re: [PATCH] Win32 errno a little bit safer

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [PATCH] Win32 errno a little bit safer
Date: 2001-09-06 02:51:57
Message-ID: 200109060251.f862pvL03031@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Thanks. Patch applied.

> Hello, i just reviewed the win32 errno patch and i saw that maybe i didn't
> really played it totally safe in my last suggestion, the system table might
> pick up the msg but not the netmsg.dll, so better try both.
> I also added a hex printout of the "errno" appended to all messages, that's
> nicer.
>
> If anyone hate my coding style, or that i'm using goto constructs, just tell
> me, and i'll rework it into a nested if () thing.
>
> Patch attached.
>
> Magnus
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Programmer/Networker [|] Magnus Naeslund
> PGP Key: http://www.genline.nu/mag_pgp.txt
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-09-06 03:05:21 Re: cannot detect too many clients
Previous Message Christopher Kings-Lynne 2001-09-06 02:39:56 Re: Log rotation?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-09-06 02:54:34 Re: libpgtcl.dll
Previous Message Dave Cramer 2001-09-06 00:40:42 Re: Read transactions don't work on 7.0.x db's 3rd attempt