return next and pl/perl

From: Eric E <whalesuit(at)bonbon(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: return next and pl/perl
Date: 2005-06-10 23:24:49
Message-ID: 42AA2141.6080303@bonbon.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,
I'm working on implementing a function in PL/PERL that will ready
many rows. As such I'd like to use return_next to keep memory usage
down. When I call return next, I get the following error message:

ERROR: error from Perl function: Can't call method "return_next" on
unblessed reference at (eval 18) line 25.

likewise if I use spi_return_next:
ERROR: error from Perl function: Can't call method "spi_return_next" on
unblessed reference at (eval 16) line 25.

After some Google and list searching, I inferred that spi_return_next
may not be implemented? Is this correct? If so, is there a workaround?

Thanks,

Eric

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sean Davis 2005-06-11 00:01:06 Re: return next and pl/perl
Previous Message Marc Munro 2005-06-10 22:59:19 Re: Waiting for select