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

pgsql/src/interfaces/libpq fe-connect.c fe-exe ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...
Date: 2001-08-21 20:39:54
Message-ID: 200108212039.f7LKdsq31726@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	momjian(at)hub(dot)org	01/08/21 16:39:54

Modified files:
	src/interfaces/libpq: fe-connect.c fe-exec.c fe-lobj.c fe-misc.c 
	                      libpq-fe.h libpqdll.c win32.h 

Log message:
	> Ok, where's a "system dependent hack" :)
	> It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal"
	> FormatMessage.
	> I wonder if one could load wsock32.dll or winsock.dll on those systems
	> instead of netmsg.dll.
	>
	> Mikhail, could you please test this code on your nt4 system?
	> Could someone else test this code on a win98/95 system?
	>
	> It works on win2k over here.
	
	It works on win2k here too but not on win98/95 or winNT.
	Anyway, attached is the patch which uses Magnus's my_sock_strerror
	function (renamed to winsock_strerror). The only difference is that
	I put the code to load and unload netmsg.dll in the libpqdll.c
	(is this OK Magnus?).
	
	Mikhail Terekhov


pgsql-committers by date

Next:From: Tom LaneDate: 2001-08-21 21:23:22
Subject: pgsql/src/backend/utils/adt mac.c
Previous:From: Mikhail TerekhovDate: 2001-08-21 20:31:45
Subject: Re: [HACKERS] Re: WIN32 errno patch

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