]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: raise a warning if nextset is used after execute in pipeline mode 613/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 1 Aug 2023 10:57:48 +0000 (11:57 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 1 Aug 2023 11:06:06 +0000 (12:06 +0100)
commitd684f489d95094fa93f884354ddc8494bc204e2c
tree5169a2541b944f330f634f0f84a4fde62c4b7032
parent62e7acba8f2cedafd0dcbd9436098e9dc72ca0f1
fix: raise a warning if nextset is used after execute in pipeline mode

So far have accumulated results, unlike in no-pipeline mode, where
results have been discarded. But this proved to be not reliable, so we
will forbid it in 3.2.

See #604
psycopg/psycopg/cursor.py
tests/test_pipeline.py
tests/test_pipeline_async.py