- Notifications
You must be signed in to change notification settings - Fork5
Commit200dd8e
committed
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* didnot produce any result set or no call was issued yet.Also, raises pgdb.NotSupportedError when .nextset() isinvoked, instead of NameError.This behaviour complies with DB-API 2.0.Thanks for your work!Timur Irmatov.1 parenta4bc5ee commit200dd8e
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 |
| |
245 | 248 |
| |
246 | 249 |
| |
| |||
253 | 256 |
| |
254 | 257 |
| |
255 | 258 |
| |
| 259 | + | |
| 260 | + | |
| 261 | + | |
256 | 262 |
| |
257 | 263 |
| |
258 | 264 |
| |
|
0 commit comments
Comments
(0)