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 Fixed #34992 -- Fixed DatabaseFeatures.allows_group_by_selected_pks on MariaDB with ONLY_FULL_GROUP_BY sql mode. 2023-11-27 09:20:10 +01:00
oracle Updated DatabaseFeatures.bare_select_suffix on Oracle 23c. 2024-01-01 10:59:16 +01:00
postgresql Fixed #35688 -- Restored timezone and role setters to be PostgreSQL DatabaseWrapper methods. 2024-08-28 19:25:07 -03:00
sqlite Fixed #35412 -- Dropped support for SQLite < 3.31. 2024-04-29 11:07:54 +02:00
__init__.py
models.py Fixed #35238 -- Fixed database serialization crash when base managers use prefetch_related(). 2024-02-20 22:14:17 +01:00
test_ddl_references.py Fixed #35469 -- Removed deferred SQL to create index removed by AlterField operation. 2024-05-28 12:44:07 +02:00
test_utils.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
tests.py Refs #12581 -- Adjusted warning stacklevel in queries ring buffer. 2024-08-28 11:44:05 -03:00