| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-01-20 | [5.2.x] Fixed #36107 -- Adjusted UNNEST bulk_create strategy to opt-out ↵ | Simon Charette | |
| sized arrays. The array fields opt-out heuristic failed to account for sized arrays. Note that we keep relying on db_type as opposed to performing an ArrayField instance check against the column's field as there could be other implementations of model fields that use Postgres arrays to store the optimization must be disabled for all of them. Refs #35936. Thanks Claude Paroz for the report and test. Backport of 22fc151bb86a553d84c62d7effd289356e9b6c6c from main. | |||
| 2024-12-11 | Fixed #35936 -- Used unnest for bulk inserts on Postgres when possible. | Simon Charette | |
| 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. | |||
