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

Re: [INTERFACES] libpq sockets on win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: jeff(at)jeffjohnson(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [INTERFACES] libpq sockets on win32
Date: 2001-06-04 20:35:08
Message-ID: 200106042035.f54KZ8409367@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-interfaces
> I found this in WinSock.h ... it might shed some light on the problem.
> 
> 
> #define WSABASEERR              10000
> [snip]
> 
> /*
>  * Windows Sockets definitions of regular Berkeley error constants
>  */
> #define WSAEWOULDBLOCK          (WSABASEERR+35)
> #define WSAEINPROGRESS          (WSABASEERR+36)
> 

I modified the patch to use WSABASEERR rather than 10000.

Do your includes define EAGAIN and stuff like that?  Whare are those
values?  If they are the same as WSAEAGAIN, then my patch should work.

-- 
  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

pgsql-docs by date

Next:From: Hans-Jürgen SchönigDate: 2001-06-05 13:09:23
Subject: users-lounge/docs/7.1/programmer/jdbc-lo.html - ERROR?
Previous:From: Jeff JohnsonDate: 2001-06-04 20:25:05
Subject: RE: [INTERFACES] libpq sockets on win32

pgsql-interfaces by date

Next:From: Ashley ClarkDate: 2001-06-04 21:40:38
Subject: What is the difference between the two MSI installers?
Previous:From: Jeff JohnsonDate: 2001-06-04 20:25:05
Subject: RE: [INTERFACES] libpq sockets on win32

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