It's Cloud Spanner. We're using `django_spanner` as a 3rd party 
connector: https://github.com/googleapis/python-spanner-django

On Tuesday, June 28, 2022 at 11:36:08 AM UTC+4 Jason wrote:

>
> What db are you using? This might also be an issue for your db connector 
> lib 
> On Monday, June 27, 2022 at 10:49:40 AM UTC-4 [email protected] wrote:
>
>> Hi, all!
>>
>> Gotta problem with the number of query params. We're using a backend, 
>> which connects to a cloud database, and at some point we suddenly started 
>> getting such an error:
>>
>> *Number of parameters in query exceeds the maximum allowed limit of 950*
>>
>> Appearing on this step:
>>
>>
>> *django/django/contrib/auth/management/__init__.py", line 83, in 
>> create_permissionsPermission.objects.using(using).bulk_create(perms)*
>>
>> 950 query params is the max number for our backend, and we set the 
>> *DatabaseFeatures.max_query_params 
>> *to 900. Still, it looks like Django doesn't care.
>>
>> Because of this all of our tests stopped working, bringing a lot of 
>> inconveniences during development. Seems to me that it should be fixed on 
>> Django side, centralized, 'cause it's unlikely we're the only who met and 
>> will meet the problem in future.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/306a4ef7-3a94-488f-bc7e-b505f44e4e32n%40googlegroups.com.

Reply via email to