]> granicus.if.org Git - postgresql/commit
Make libpq on windows not try to send chunks larger than 64Kb.
authorMagnus Hagander <magnus@hagander.net>
Wed, 20 Aug 2008 11:53:45 +0000 (11:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 20 Aug 2008 11:53:45 +0000 (11:53 +0000)
commitc91ff03a06443ed88529026ad33464addbf3444d
treeed08a4ba206bbb63ca33ef8a4ed8dd3044b61edb
parent7303b20964fa5fd505ac86b1219cc1ffcff09d4b
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.
src/interfaces/libpq/fe-misc.c