How to discard partially retrieved result set with the C API?

Поиск
Список
Период
Сортировка
От 邓尧
Тема How to discard partially retrieved result set with the C API?
Дата
Msg-id CAOb3iujbTXqKPp8o4q7tQr-rPnS_QJvEONqDT_Z28=nAbSsVgg@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to discard partially retrieved result set with the C API?  (Dmitriy Igrishin <dmitigr@gmail.com>)
Список pgsql-general
When single row mode is enabled, after retrieving part of the result set, I'm no longer interested in the rest of it (due to error handling or other reasons). How can I discard the result set without repeatedly calling PQgetResult() in such situation ?
The result set may be quite large and it's inefficient to call PQgetResult() repeatedly, so it's necessary to do so sometimes.

Thanks
Yao

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

Предыдущее
От: Vincent de Phily
Дата:
Сообщение: Re: Deleted files still open long after droping a database
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: How to discard partially retrieved result set with the C API?