Re: streaming result sets: progress

From: Nic Ferrier <nferrier(at)tapsellferrier(dot)co(dot)uk>
To: Scott Lamb <slamb(at)slamb(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: streaming result sets: progress
Date: 2002-11-23 15:40:14
Message-ID: 87adk05m75.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Scott Lamb <slamb(at)slamb(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Stuart Robinson 2002-11-23 15:50:56 Re:
Previous Message Scott Lamb 2002-11-23 15:20:06 Re: streaming result sets: progress