pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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 14:32:17 -0400 (EDT)
Message-ID: <200106041832.f54IWHD00108@candle.pha.pa.us> (raw)
In-Reply-To: <6675.991679378@sss.pgh.pa.us>

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> This article describes the problem and work around.
> >> http://msdn.microsoft.com/library/psdk/winsock/ovrvw3_26ia.htm
> 
> > I can't read that web site under Netscape.
> 
> Comes up fine for me (maybe you need to turn off Javascript?)

Thanks, that fixed it.

> However, the advice on it seems to be written by someone who does not
> know the difference between a variable and a function :-(.  Read with
> a large grain of salt.
> 
> We already have a couple of #ifdef'd usages of WSAGetLastError() in
> libpq, but it's quite unclear which other references to errno might
> need to be changed.  A blanket replacement of errno would certainly
> break things.

That's why I recommended brackets of #define/#undef around tests of
socket errno's.

-- 
  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: <200106041832.f54IWHD00108@candle.pha.pa.us>
Permalink:  ../200106041832.f54IWHD00108@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200106041832.f54IWHD00108@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, tgl@sss.pgh.pa.us, jeff@jeffjohnson.net, pgsql-docs@postgresql.org
  Subject: Re: [INTERFACES] libpq sockets on win32
  In-Reply-To: <200106041832.f54IWHD00108@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