#19948: Improve connection reset under PostgreSQL
-------------------------------------+-------------------------------------
     Reporter:  aaugustin            |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  master
    Component:  Database layer       |               Resolution:
  (models, ORM)                      |             Triage Stage:  Accepted
     Severity:  Normal               |      Needs documentation:  0
     Keywords:                       |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Description changed by aaugustin:

Old description:

> On django-developers, Christopher Pettus says:
>
> > It would be helpful to have a backend method that performers the
> "restore connection between uses" function, rather than just use
> connection.abort() (of course, the default implementation can use that).
> For example, on PostgreSQL, ABORT; DISCARD ALL is the recommended way of
> resetting a connection, so being able to implement that would be great.
>
> This was independently suggested by Anssi, and it looks like a good idea
> to implement.

New description:

 On django-developers, Christophe Pettus says:

 > It would be helpful to have a backend method that performers the
 "restore connection between uses" function, rather than just use
 connection.abort() (of course, the default implementation can use that).
 For example, on PostgreSQL, ABORT; DISCARD ALL is the recommended way of
 resetting a connection, so being able to implement that would be great.

 This was independently suggested by Anssi, and it looks like a good idea
 to implement.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19948#comment:1>
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to