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

Win32 Error descriptions + config

From: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Win32 Error descriptions + config
Date: 2002-04-15 03:35:51
Message-ID: 016801c1e42e$a3f25200$020a0a0a@mnd (view raw, whole thread or download thread mbox)
Lists: pgsql-patches

I'm at the win32 error messages once more.
The DLL load thingy doesn't work on all win9x machines, so i made it go thru a lookup table instead, using the DLL as last resort. 
I also moved this out of the fe-misc.c file because of the size of the lookup table.
Who knows, we might add more other win32 specific code there in the future.

I also fixed a small typo in the pg_config.h.win32 that made the compiler complain about the gnu snprintf declaration.

I tried to make this patch with psql coding style.
I've successfully tested this on win2k and win98 and it works fine (i.e. the message shows on win98 too, it didn't with the old implementation).

Let me know if there's anything you want me to change or if you won't accept the patch for any reason.


Magnus Naeslund

 Programmer/Networker [|] Magnus Naeslund

Attachment: pgsql.win32.winsockerr.1.diff
Description: application/octet-stream (9.2 KB)


pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-04-15 03:37:20
Subject: Re: ANSI Compliant Inserts
Previous:From: Tom LaneDate: 2002-04-15 03:26:25
Subject: Re: ANSI Compliant Inserts

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