title: After fetching records from a Postgres table how could I pass those records in a Bulk API call?
body: <p>Scenario:
  I fetch million records from a Postgres table.
  Post that I want to create batches of 10k records from the fetched records.
  Is there a way to create batches directly from the resultset object?</p>