Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion - Mailing list pgsql-general

From Peter Geoghegan
Subject Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion
Date
Msg-id db471ace1002160832x7cb2b790y64e7ee71f509d400@mail.gmail.com
Whole thread Raw
In response to Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses 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>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Check what a transaction did in the past
Next
From: Alvaro Herrera
Date:
Subject: Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion