]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(copy): make the writer entirely responsible of the libpq copy state
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 11 Jun 2022 22:47:50 +0000 (00:47 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 19 Jul 2022 14:09:53 +0000 (15:09 +0100)
commitb77bd8c9a37fa9b83a3ce099584e798b36ec46ee
tree03eb10d720b836bff3824346c6d3b87ded0ed2f5
parent502dff2330287523b904994f646ab3c022fc8ae7
refactor(copy): make the writer entirely responsible of the libpq copy state

This way we can create a writer which is entirely independent from the
libpq and the connection, which is useful, for instance, to format a
file with copy data.
psycopg/psycopg/copy.py
tests/test_copy.py
tests/test_copy_async.py