]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Add tests to verify broken queries or other statements in server-side cursors
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 12 Feb 2021 02:35:04 +0000 (03:35 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 12 Feb 2021 02:35:04 +0000 (03:35 +0100)
commit47821540b2cbfc9150ebbccd8cf959cc41de2c2d
tree948e185525ae8fb9ce76ca1c98784bccd297943d
parentfafeb13521b0efe84263e455583f3579fb3118da
Add tests to verify broken queries or other statements in server-side cursors

Enforce passing a single statement by making sure to use the advanced
query protocol.
psycopg3/psycopg3/server_cursor.py
tests/test_server_cursor.py
tests/test_server_cursor_async.py