#36107: PostgresSQL ArrayField with size crashes with bulk_create
-------------------------------------+-------------------------------------
     Reporter:  Claude Paroz         |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * stage:  Unreviewed => Accepted

Comment:

 Thanks Claude, I'll look at it shortly.

 
[https://github.com/django/django/blob/98767ba2eceafa0de10c561d051d54e340c2d29b/django/db/backends/postgresql/compiler.py#L46
 The current heuristics] to disable the optimization when dealing with
 `ArrayField` didn't account for sized ones.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36107#comment:1>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701947543585d-878576f0-cc88-4128-b277-5d1ab302387b-000000%40eu-central-1.amazonses.com.

Reply via email to