#35688: Postgresql DatabaseWrapper does not allow to override ensure_timezone() function in derived classes -------------------------------------+------------------------------------- Reporter: Christian | Owner: Sarah Hardenberg | Boyce Type: Bug | Status: closed Component: contrib.postgres | Version: 5.1 Severity: Release blocker | Resolution: fixed Keywords: DatabaseWrapper | Triage Stage: Ready for posgresql ensure_timezone | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by nessita <124304+nessita@…>):
* resolution: => fixed * status: assigned => closed Comment: In [changeset:"7380ac57340653854bc2cfe0ed80298cdac6061d" 7380ac5]: {{{#!CommitTicketReference repository="" revision="7380ac57340653854bc2cfe0ed80298cdac6061d" 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 <124304+ness...@users.noreply.github.com> }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35688#comment:7> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701919b17c173-b27816fd-f5e3-4649-955b-4a6e261e8d4e-000000%40eu-central-1.amazonses.com.