Re: creating WITH HOLD cursors using SPI

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: ams(at)oryx(dot)com, plperlng-devel(at)pgfoundry(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: creating WITH HOLD cursors using SPI
Date: 2005-06-12 17:21:31
Message-ID: 25276.1118596891@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> Tom Lane said:
>> This seems awfully limiting; isn't return_next a better API?

> plperl already does return_next for handing data back to postgres (see
> recently applied patch). I don't understand how we can use it when fetching
> data from postgres into plperl, which is what Abhijit is working on.

Oh, I see --- I thought this was duplicating return_next. Sorry for
the noise.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2005-06-12 17:37:03 Re: Gist Recovery testing
Previous Message Andrew Dunstan 2005-06-12 16:25:36 Re: creating WITH HOLD cursors using SPI