#16047: postgresql_psycopg2 never restores autocommit mode when leaving
transaction
management
-------------------------------------+-------------------------------------
Reporter: brodie | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.3
(models, ORM) | Resolution: fixed
Severity: Normal | Triage Stage: Accepted
Keywords: psycopg2 autocommit | Needs documentation: 0
transactions | Patch needs improvement: 0
Has patch: 1 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [f572ee0c65ec5eac9edb0cb3e35c96ec86d89ffb]:
{{{
#!CommitTicketReference repository=""
revision="f572ee0c65ec5eac9edb0cb3e35c96ec86d89ffb"
Fixed #16047 -- Restore autocommit state correctly on psycopg2
When the postgresql_psycopg2 backend was used with DB-level autocommit
mode enabled, after entering transaction management and then leaving
it, the isolation level was never set back to autocommit mode.
Thanks brodie for report and working on this issue.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/16047#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.