Skip to content
Snippets Groups Projects
Commit 200dd8e3 authored by D'Arcy J.M. Cain's avatar D'Arcy J.M. Cain
Browse files

I'm sending you a small patch to pgdb.py module. This

raises pgdb.DatabaseError when any of the fetch*
methods was invoked but previous call to execute* did
not produce any result set or no call was issued yet.
Also, raises pgdb.NotSupportedError when .nextset() is
invoked, instead of NameError.

This behaviour complies with DB-API 2.0.

Thanks for your work!

Timur Irmatov.
parent a4bc5eee
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment