You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DBAPI 2 spec says that the fetchall() method should raise an exception if it is called when there is a null result (note that this is difference from a result with no rows). pg8000.dbapi should probably be changed to conform with that.
We should also probably change pg8000.native's run() to return None for a null result.
The text was updated successfully, but these errors were encountered:
So now pg8000.native's run() does return None for a null result. Also, for pg8000.dbapi's fetch*() methods already raise an exception for a null result.
The DBAPI 2 spec says that the
fetchall()
method should raise an exception if it is called when there is a null result (note that this is difference from a result with no rows).pg8000.dbapi
should probably be changed to conform with that.We should also probably change
pg8000.native
'srun()
to returnNone
for a null result.The text was updated successfully, but these errors were encountered: