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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion
Date: 2010-02-16 18:09:16
Message-ID: 20100216180916.GJ5330@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Bailey 2010-02-16 18:45:32 Re: COPY FROM wish list
Previous Message Peter Geoghegan 2010-02-16 16:32:45 Re: Having a plpgsql function return multiple rows that indicate its progress in a cursor like fashion