Re: streaming result sets: progress - Mailing list pgsql-jdbc

From Nic Ferrier
Subject Re: streaming result sets: progress
Date
Msg-id 87adk05m75.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
Whole thread Raw
In response to Re: streaming result sets: progress  (Scott Lamb <slamb@slamb.org>)
List pgsql-jdbc
Scott Lamb <slamb@slamb.org> writes:

> snpe wrote:
> > Yes, it is legitime, but execute and fetch are separated command.
> > There isn't good reason for doing fetch with execute - maybe user never call fetch.
>
> Network efficiency. By batching the commands together, it avoids a round
> trip to the database server.

And it's very likely that once a ResultSet is got, the user will want
to position it.

The number of times that this doesn't happen is, well, I've never
done it.


Nic

pgsql-jdbc by date:

Previous
From: Scott Lamb
Date:
Subject: Re: streaming result sets: progress
Next
From: Stuart Robinson
Date:
Subject: Re: