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

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...
Date: 2001-07-21 04:42:18
Message-ID: 200107210442.f6L4gIL06427@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
> Bruce Momjian - CVS <momjian(at)hub(dot)org> writes:
> > Log message:
> > 	i've spotted a following problem using DBD::Pg under win32. winsock
> > 	functions do not set errno, so some normal conditions are treated as
> > 	fatal errors. e.g. fetching large tuples fails, as at some point recv()
> > 	returns EWOULDBLOCK. here's a patch, which replaces errno with
> > 	WSAGetLastError(). i've tried to to affect non-win32 code.
> 
> I thought this was awaiting a merged patch from both submitters?
> 
> Certainly I haven't reviewed it, since I thought that we were not
> going to apply it until that happened.

I have applied both fixes.  Win32 users can start testing.

-- 
  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-committers by date

Next:From: Bruce Momjian - CVSDate: 2001-07-21 18:52:11
Subject: pgsql/src/interfaces/jdbc Implementation org/p ...
Previous:From: Bruce Momjian - CVSDate: 2001-07-21 04:41:29
Subject: pgsql/doc/TODO.detail libpq

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