]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: fetch results on Pipeline.sync().
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 9 May 2022 00:52:39 +0000 (02:52 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 9 May 2022 01:10:46 +0000 (03:10 +0200)
commit773944be133e0269b60031f3645664c1f2f1cf0b
tree5480abbb071e7fe03a48bb2e6cf4ac37925a6501
parentd72ac27ee5c675cdca902d61e099729bca914fde
fix: fetch results on Pipeline.sync().

This allows a sync() call to establish an high level synchronization
point between the application and the server. If there were errors in
the processing so far, sync will throw the exception.

See #296.
docs/advanced/pipeline.rst
psycopg/psycopg/_pipeline.py
tests/test_pipeline.py
tests/test_pipeline_async.py