#28596: Oracle crashes with query with 2^16+1 bind parameters. -------------------------------------+------------------------------------- Reporter: Markus Stenberg | Owner: felixxm Type: Bug | Status: assigned Component: Database layer | Version: 1.11 (models, ORM) | Severity: Normal | 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 felixxm):
* status: new => assigned * owner: nobody => felixxm Comment: I remembered that I had encountered this problem in the past. It's related with Oracle PL/SQL limits i.e. Oracle allows to 2^16^ = 65536 bind parameters per cursor (see [https://docs.oracle.com/database/121/LNPLS/limits.htm#GUID-00966B4C- B9A5-47D4-94AA-54AEBCC07CE9__BABIHIJG docs]). It will be hard to fix this issue in general, but it's feasible to fix `UpdateQuery.update_batch()` and `DeleteQuery.delete_batch()`. -- Ticket URL: <https://code.djangoproject.com/ticket/28596#comment:9> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.937180f63841f738a5cd5a6e2f80ba37%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.