Re: libpq simple SELECT

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: libpq simple SELECT
Дата
Msg-id CAKFQuwZZjhpVcqun8ScEa7KJqK+bd0FXeKJuY3c21S1j1V=0Xg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq simple SELECT  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: libpq simple SELECT
Список pgsql-general
On Wednesday, December 17, 2025, Igor Korot <ikorot01@gmail.com> wrote:

I hope now my question is clear. I want to know if using CURSR
is a must.

No it is not.  But there isn’t an example of doing so without a cursor because it is deemed trivial enough that a competent C writer can figure it out.  In particular, it basically is just the same code as the “fetch” portion of the example, but the select command is supplied instead of a fetch command.  Both of those SQL commands result is tuples being generated.

David J.

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