number of rows returned by a query

Поиск
Список
Период
Сортировка
От Konstantin Izmailov
Тема number of rows returned by a query
Дата
Msg-id AANLkTim-VAvZif4WELKVA2zc_JfxrP39ZdHzpj6gDq4L@mail.gmail.com
обсуждение исходный текст
Ответы Re: number of rows returned by a query
Список pgsql-general
Maybe this question was discussed previously, but I could not find an answer:

An application used PQntuples function to obtain number of tuples after executing each query. Since number of rows increased we decided to use DECLARE CURSOR/FETCH commands to retrieve tuples. However, it seems that number of the tuples is not available after DECLARE CURSOR command. We want to minimize the changes in the app. Is it possible to obtain number of rows that a cursor will return?

Thank you
Konstantin


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

Предыдущее
От: Konstantin Izmailov
Дата:
Сообщение: Re: Does Postgres support bookmarks (tuples ids)?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [JDBC] ResultSet problem in JDBC