]> 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 10:05:13 +0000 (12:05 +0200)
commitc79aa98512639f6fb80e86bb2601b0c455ed4e2f
treebc5a81ff22a983c05948e3f37630c95725d56130
parent3f0ad674c4e5233290481e8fb5f9efb54c2bf9d2
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