pgsql/src/interfaces/libpq fe-connect.c fe-exe ... - Mailing list pgsql-committers

From Bruce Momjian - CVS
Subject pgsql/src/interfaces/libpq fe-connect.c fe-exe ...
Date
Msg-id 200107201745.f6KHj6773989@hub.org
Whole thread Raw
Responses Re: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/07/20 13:45:06

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

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.

    Dmitry Yurtaev


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc TODO
Next
From: Tom Lane
Date:
Subject: Re: pgsql/src/interfaces/libpq fe-connect.c fe-exe ...