Re: C libpq frontend library fetchsize

Поиск
Список
Период
Сортировка
Искать
От
Takahiro Itagaki
Тема
Re: C libpq frontend library fetchsize
Дата
Msg-id
20100301174740.9975.52131E4D@oss.ntt.co.jp
Ответ на
Список
Дерево обсуждения
C libpq frontend library fetchsize Yeb Havinga <yebhavinga@gmail.com>
Re: C libpq frontend library fetchsize Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: C libpq frontend library fetchsize Yeb Havinga <yebhavinga@gmail.com>
Re: C libpq frontend library fetchsize Robert Haas <robertmhaas@gmail.com>
Re: C libpq frontend library fetchsize Yeb Havinga <yebhavinga@gmail.com>
Re: C libpq frontend library fetchsize Tom Lane <tgl@sss.pgh.pa.us>
Re: C libpq frontend library fetchsize Yeb Havinga <yebhavinga@gmail.com>
Re: C libpq frontend library fetchsize Robert Haas <robertmhaas@gmail.com>
Re: C libpq frontend library fetchsize Yeb Havinga <yebhavinga@gmail.com>

Yeb Havinga  wrote:

> I'm wondering if there would be community support for adding using the 
> execute message with a rownum > 0 in the c libpq client library, as it 
> is used by the jdbc driver with setFetchSize.

The setFetchSize for libpq is difficult because of the interface
mismatch -- libpq uses array-based APIs (PGresult) and JDBC uses a
cursor-like API (ResultSet). Instead, you can use CURSOR and FETCH
commands to retrieve rows in separated PGresult objects.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center



В списке pgsql-hackers по дате отправления
От: Zdenek Kotala
Дата:
Сообщение: Re: psql with GSS can crash
От: Andrea Suisani
Дата:
FAQ