]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: fix Cursor.rowcount after non-SELECT tuple-returining queries
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 28 Jul 2022 09:34:57 +0000 (11:34 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 28 Jul 2022 09:42:54 +0000 (11:42 +0200)
commit0f9b8883ff93fd108746f2a294317de0c553cfa7
tree800cb69ca210cd2d4d2a183c94b39ae8e61672a5
parentd17b0d8b11d66822d2166f00c9a730edfe79ca93
fix: fix Cursor.rowcount after non-SELECT tuple-returining queries

PQcmdTuples doesn't return a value after SHOW and other type of queries.

Close #343
docs/news.rst
psycopg/psycopg/cursor.py