pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: jeff@jeffjohnson.net
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-docs@postgresql.org
Subject: Re: [INTERFACES] libpq sockets on win32
Date: Mon, 4 Jun 2001 16:35:08 -0400 (EDT)
Message-ID: <200106042035.f54KZ8409367@candle.pha.pa.us> (raw)
In-Reply-To: <B9C9130B5D27D4119D5D00A0C9D3A987109461@SERVER>

> 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (16+ messages)  latest in thread

Message-ID: <200106042035.f54KZ8409367@candle.pha.pa.us>
Permalink:  ../200106042035.f54KZ8409367@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200106042035.f54KZ8409367@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, jeff@jeffjohnson.net, pgsql-docs@postgresql.org
  Subject: Re: [INTERFACES] libpq sockets on win32
  In-Reply-To: <200106042035.f54KZ8409367@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox