#33497: Database persistent connections do not work with ASGI in 4.0
-------------------------------------+-------------------------------------
     Reporter:  Stenkar              |                    Owner:  (none)
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  ASGI, Database,      |             Triage Stage:  Accepted
  async                              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

 In [changeset:"26c06671d9f9ff679be5e290b0752a45e582ce0c" 26c0667]:
 {{{#!CommitTicketReference repository=""
 revision="26c06671d9f9ff679be5e290b0752a45e582ce0c"
 [5.1.x] Fixed #35688 -- Restored timezone and role setters to be
 PostgreSQL DatabaseWrapper methods.

 Following the addition of PostgreSQL connection pool support in
 Refs #33497, the methods for configuring the database role and timezone
 were moved to module-level functions. This change prevented subclasses
 of DatabaseWrapper from overriding these methods as needed, for example,
 when creating wrappers for other PostgreSQL-based backends.

 Thank you Christian Hardenberg for the report and to
 Florian Apolloner and Natalia Bidart for the review.

 Regression in fad334e1a9b54ea1acb8cce02a25934c5acfe99f.

 Co-authored-by: Natalia <[email protected]>

 Backport of 7380ac57340653854bc2cfe0ed80298cdac6061d from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/33497#comment:41>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701919b191a9a-5acb4745-e2e4-4af0-a2ec-1da6a8cecf53-000000%40eu-central-1.amazonses.com.

Reply via email to