Reputation: 3070
I would like to control the fetch size in querying the Postgres DB. I am able to do so with the plain jdbc, but with the quarkus reactive postgres client, I cannot find such an option. Anyone knows how to configure fetch size with this client?
Upvotes: 1
Views: 280
Reputation: 49687
It is not currently possible. If you use the normal query methods, vertx-sql-client will always fetch everything.
You can use PreparedStatement.createStream()
instead if you want to stream the partial results.
Upvotes: 1