1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/backends
Simon Charette a16eedcf9c Fixed #35936 -- Used unnest for bulk inserts on Postgres when possible.
This should make bulk_create significantly faster on Postgres when provided
only literal values.

Thanks James Sewell for writing about this technique, Tom Forbes for
validating the performance benefits, David Sanders and Mariusz Felisiak
for the review.
2024-12-11 13:56:18 +01:00
..
base Refs #34547 -- Adjusted deprecation warning stacklevel in DatabaseOperations.field_cast_sql(). 2024-08-28 11:44:05 -03:00
mysql
oracle Updated DatabaseFeatures.bare_select_suffix on Oracle 23c. 2024-01-01 10:59:16 +01:00
postgresql Fixed #35936 -- Used unnest for bulk inserts on Postgres when possible. 2024-12-11 13:56:18 +01: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