pgsql: Make libpq on windows not try to send chunks larger than 64Kb. - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Make libpq on windows not try to send chunks larger than 64Kb.
Date
Msg-id 20080820115349.BD83C755315@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make libpq on windows not try to send chunks larger than 64Kb.

Per Microsoft knowledge base article Q201213, early versions of
Windows fail when we do this. Later versions of Windows appear
to have a higher limit than 64Kb, but do still fail on large
sends, so we unconditionally limit it for all versions.

Patch from Tom Lane.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-misc.c (r1.130 -> r1.130.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-misc.c?r1=1.130&r2=1.130.2.1)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make libpq on windows not try to send chunks larger than 64Kb.
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make libpq on windows not try to send chunks larger than 64Kb.