Oliver Jowett <oliver@opencloud.com> writes:
> There may be a (backend) limit on the number of parameters in a query,
> not sure.
I'm pretty certain there's no hard limit. However, I doubt anyone has
tested with thousands of parameters ... there might well be performance
issues, such as loops that are O(N^2) in the number of parameters.
Feel free to send along problem cases.
regards, tom lane