#15802: Django stops functioning when the database (PostgreSQL) closes the connection -------------------------------------+------------------------------------- Reporter: Rick.van.Hattem@… | Owner: aaugustin Type: Bug | Status: closed Component: Database layer | Version: 1.3 (models, ORM) | Resolution: fixed Severity: Normal | Triage Stage: Accepted Keywords: database, postgres, | Needs documentation: 0 postgresql, connection, closed | Patch needs improvement: 1 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by Aymeric Augustin <aymeric.augustin@…>): In [changeset:"4ea02bdb0dc6776fc29d8164e417469c9ba10f18"]: {{{ #!CommitTicketReference repository="" revision="4ea02bdb0dc6776fc29d8164e417469c9ba10f18" [1.6.x] Fixed #21239 -- Maintained atomicity when closing the connection. Refs #15802 -- Reverted #7c657b24 as BaseDatabaseWrapper.close() now has a proper "finally" clause that may need to preserve self.connection. Backport of 25860096 from master. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/15802#comment:28> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/081.71db8e132969419e027da28378908197%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.