Re: streaming result sets: progress

Поиск
Список
Период
Сортировка
От Nic Ferrier
Тема Re: streaming result sets: progress
Дата
Msg-id 87adk05m75.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
обсуждение исходный текст
Ответ на Re: streaming result sets: progress  (Scott Lamb <slamb@slamb.org>)
Список 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 по дате отправления:

Предыдущее
От: Scott Lamb
Дата:
Сообщение: Re: streaming result sets: progress
Следующее
От: Stuart Robinson
Дата:
Сообщение: Re: