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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion
Дата
Msg-id 20100216180916.GJ5330@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Ответы Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список pgsql-general
Peter Geoghegan escribió:
> > 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.

We've had several requests for progress reporting thingies of all kinds.
The amount of effort is not insignificant, which is probably why nothing
has gotten done yet ...

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion
Следующее
От: Scott Bailey
Дата:
Сообщение: Re: COPY FROM wish list