Joe Conway wrote:
> Tom Lane wrote:
> > Jan Wieck <JanWieck@Yahoo.com> writes:
> >
> >>Since PL/pgSQL is a loadable module still, we might be able to provide
> >>an upgrade after 7.3 is out instead of waiting for 7.4.
> >
> >
> > Maybe, but you'd have to get the core-code end of it in before beta.
> > AFAIR Joe's patch doesn't yet cover any return style from a function
> > except one-row-at-a-time.
> >
>
> Neil said he was working on this and expected to have it done for 7.3. I
> think he's using the approach we discussed at OSCON, namely generating a
> tuplestore within the plpgsql module and passing it back to FunctionNext.
If I understand correctly, it is a great idea because it uses the cursor
return support already in pl/pgsql to handle it. Great idea.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073