]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make libpq on windows not try to send chunks larger than 64Kb.
authorMagnus Hagander <magnus@hagander.net>
Wed, 20 Aug 2008 11:53:49 +0000 (11:53 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 20 Aug 2008 11:53:49 +0000 (11:53 +0000)
commit7ddd8396479a11ff81b0ca506e97617c4cd445d3
tree1c571bdf9453c97b3650d171e73f0fc718c3080c
parent8ca6a92ae044f10e39531983519b754f4ab4e8e5
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