I have a postgres table which contains millions of entries and I wish to query it in batches of 10.000. That means that I have to send a query like this:
10.000