niwibe/django-orm — pull request #10 by nigma (2012-03-29 14:14:03+00:00)
Title: Test case for failing savepoint handling in PoolMixIn postgres backend

There's something bad going on in the ``PoolMixIn`` connection handling code.

After a database error (i.e. ``IntegrityError``) a subsequent savepoint rollback recovery (https://docs.djangoproject.com/en/dev/topics/db/transactions/#savepoint-rollback) fails with the error "current transaction is aborted, queries ignored until end of transaction block".