Re: PL/Perl returning multiple rows

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Christopher Murtagh <christopher(dot)murtagh(at)mcgill(dot)ca>
Cc: 'PostgreSQL General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: PL/Perl returning multiple rows
Date: 2003-11-10 21:52:32
Message-ID: 20031110215232.GC8492@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 10, 2003 at 03:59:53PM -0500, Christopher Murtagh wrote:

> I'm trying to write a pl/perl function that will return multiple rows.
> I've looked all over the web and only found vague references as to how
> to do this (some said it was possible, and some said it wasn't but it
> was for older versions of Postgres).

Unfortunately, pl/perl has not been enabled to return multiple rows yet.
Apparently it also can use SPI only through an experimental interface ...
so plperl is pretty much a dead end for you.

Better start learning Tcl ...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The ability to monopolize a planet is insignificant
next to the power of the source"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2003-11-10 22:17:56 Re: Temp rows - is it possible?
Previous Message Bruce Momjian 2003-11-10 21:51:53 Re: Temp rows - is it possible?