#15802: Django stops functioning when the database (PostgreSQL) closes the connection -------------------------------------+------------------------------------- Reporter: | Owner: Honza_Kral Rick.van.Hattem@… | Status: reopened Type: Bug | Component: Database layer Milestone: | (models, ORM) Version: 1.3 | Severity: Normal Resolution: | Keywords: database, postgres, Triage Stage: Accepted | postgresql, connection, closed Needs documentation: 0 | Has patch: 1 Patch needs improvement: 0 | Needs tests: 0 UI/UX: 0 | Easy pickings: 0 -------------------------------------+-------------------------------------
Comment (by dekkers): Replying to [comment:11 Honza_Kral]: > And does it occur then at every request or just once? If just once I consider that fine - we wouldn't want to hide the fact that something bad happened to the connection from the user. It happens at every request. With my patch I still get a DatabaseError in execute() once, but I agree that that is fine. -- Ticket URL: <https://code.djangoproject.com/ticket/15802#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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.