Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion
Дата
Msg-id db471ace1002160832x7cb2b790y64e7ee71f509d400@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> It is possible to code set-returning functions in a suspend-and-resume
> style, but none of the available PLs do that; you have to get down to
> the C level.

Aren't my requirements sufficiently common to justify developing a
mechanism to report progress back to client applications during batch
operations and the like? This seems like a nice thing to have, that
would be broadly useful, perhaps as a contrib module. Obviously I have
no idea of the amount of effort developing such a feature would
entail.

Regards,
Peter Geoghegan

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Check what a transaction did in the past
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion