async updates
Michael Barton <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey list, I was messing around with asynchronous queries tonight, and noticed that if I send an UPDATE statement, the cursor's .rowcount is never updated to reflect the results. I'm also not sure when any errors resulting from the query are supposed to be raised. With SELECT statements, these seem to happen with the first fetch. Is there some sort of fetch analogue for update statements I need to call to get it to evaluate the server's response? -- Mike Barton