Re: default fetch size

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: default fetch size
Дата
Msg-id 3BA57DC5.7070005@xythos.com
обсуждение исходный текст
Ответ на default fetch size  ("Dave Thompson" <dave@freeflyer.co.uk>)
Список pgsql-jdbc
Dave,


The protocol for the clients to talk with the backend server doesn't
support the concept of a fetch size.  When a query is executed it's
entire result is sent to the client.  (You can explicitly work around
this by using cursors see the DECLARE and FETCH sql commands).

thanks,
--Barry


Dave Thompson wrote:
> Hi all,
>
> I'm doing some research into tightly coupling data mining applications to
> PostgreSQL, and have a couple of questions:
>
> 1) What's the default fetch size set by the jdbc driver (jdbc7.0-1.2.jar)?
>
> 2) Is there any way to change this other than by editing the source code?
> The setFetchSize and getFetchSize methods are not supported.
>
> Thanks for your help.
>
> Dave Thompson.
> Research Student.
> University of Manchester, England.
> dave@freeflyer.co.uk
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: Re: jdbc newbie question
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [PATCHES] isNullable()