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

D'Arcy J.M. Cain <darcy@druid.net>

Commit: 200dd8e3f82370a37ade1f453bc16e0901a6dd1b
Author: D'Arcy J.M. Cain <darcy@druid.net>
Date: 2002-11-25T03:11:15Z
Releases: 7.4.1
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.

Files

PathChange+/−
src/interfaces/python/pgdb.py modified +7 −1