0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00
django/tests/backends
Sarah Boyce 7380ac5734 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 fad334e1a9.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-08-28 19:25:07 -03:00
..
base Refs #34547 -- Adjusted deprecation warning stacklevel in DatabaseOperations.field_cast_sql(). 2024-08-28 11:44:05 -03:00
mysql
oracle
postgresql Fixed #35688 -- Restored timezone and role setters to be PostgreSQL DatabaseWrapper methods. 2024-08-28 19:25:07 -03:00
sqlite
__init__.py
models.py
test_ddl_references.py
test_utils.py
tests.py