Re: How can I configure the postgresql odbc to return 1 row at a time?

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Re: How can I configure the postgresql odbc to return 1 row at a time?
Дата
Msg-id 20050411151156.83707.qmail@web20823.mail.yahoo.com
обсуждение исходный текст
Ответ на How can I configure the postgresql odbc to return 1 row at a time?  ("Jerry Lam" <jlam@sandvine.com>)
Ответы Re: How can I configure the postgresql odbc to return 1 row  (Marko Ristola <marko.ristola@kolumbus.fi>)
Список pgsql-odbc
--- Jerry Lam <jlam@sandvine.com> wrote:
> Hi,
>
> Is it possible to ask postgresql odbc driver to
> fetch the resulsets from the table one at a time
> instead of fetching all millions rows into memory?

Perhaps setting the "Use declare/fetch" driver option
to true will help you.  This will cause a server side
cursor to be used, which will return the rows in
blocks.  What controls the size of the blocks, I have
no idea; I've never messed with that.

>
> Thank you,
>
> Jerry
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq
>



__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

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

Предыдущее
От: Per Erik Rønne
Дата:
Сообщение: ODBC and MacOS X
Следующее
От: Marko Ristola
Дата:
Сообщение: Re: Driver uses always UTF-8?