]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(copy): split large buffers before sending them to PQputCopyData
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 24 Mar 2022 13:01:58 +0000 (14:01 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 25 Mar 2022 17:40:33 +0000 (18:40 +0100)
commit5ccdf4d01cdfb6c8b62a1850b220d48a080f165f
tree03f9f86a64d604ac12df9bf1ed5f000f41499a3f
parent47b51f952369f572f98a2a5ca525f94ae83d85ca
fix(copy): split large buffers before sending them to PQputCopyData

Sending excessively large data doesn't allow the libpq to flush its
content to the server, ending up in an infinite loop.

Close #255
docs/news.rst
psycopg/psycopg/generators.py