]> 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:51 +0000 (11:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 20 Aug 2008 11:53:51 +0000 (11:53 +0000)
commit1852a73c7ac8096104e2e2ad4b2fbe9484fc1dd9
treee3a84443120dc3ef1d4d655e181a257a3dbc8473
parent4dff669cf0b999bf57c29d2cd43df562a7b70e82
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