#17788: bulk_create() "too many SQL variables" error
-------------------------------------+-------------------------------------
     Reporter:  alpar                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:
  (models, ORM)                      |  1.4-beta-1
     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
-------------------------------------+-------------------------------------

Comment (by akaariai):

 OK, seems like I am not going to test this on Oracle. Installing Oracle XE
 is ridiculously hard, and now I have half-configures Oracle XE
 installed...

 So, if somebody could test the following on Oralce:
 {{{
 class SomeModel(models.Model):
     f = models.CharField(max_length=100)
 SomeModel.objects.bulk_create(SomeModel(f='a'*100) for i in range(0,
 1000))
 }}}
 If that works, increase the 1000 to say 10000. If no problems, I guess
 Oracle is safe enough for 1.4.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17788#comment:10>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to