Use = ANY with pq.Array in batches store
Created by: eseliger
This will yield the same query plans, as pg converts IN(..) into = ANY() internally anyways. It will never cause us to hit the 32k arguments limit though, which is a nice learning from last Fridays DB hacking session.