Re: SPI_ERROR_CONNECT in plperl function - Mailing list pgsql-general

From Tom Lane
Subject Re: SPI_ERROR_CONNECT in plperl function
Date
Msg-id 4036.1231361087@sss.pgh.pa.us
Whole thread Raw
In response to Re: SPI_ERROR_CONNECT in plperl function  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: SPI_ERROR_CONNECT in plperl function  (Christian Schröder <cs@deriva.de>)
List pgsql-general
I wrote:
> =?ISO-8859-1?Q?Christian_Schr=F6der?= <cs@deriva.de> writes:
>> When I try to call the function I get the following error message:

>> test=# select * from testfunc();
>> ERROR:  error from Perl function: SPI_connect failed: SPI_ERROR_CONNECT
>> at line 2.

> Hmph ... looks like plperl is shy a few SPI_push/SPI_pop calls.

I've applied a patch for this --- it'll be in the next set of update
releases.

            regards, tom lane

pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: stable function called for every row?
Next
From: Tom Lane
Date:
Subject: Re: stable function called for every row?