Re: SPI_ERROR_CONNECT in plperl function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christian Schröder <cs(at)deriva(dot)de>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: SPI_ERROR_CONNECT in plperl function
Date: 2009-01-07 20:44:47
Message-ID: 4036.1231361087@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wrote:
> =?ISO-8859-1?Q?Christian_Schr=F6der?= <cs(at)deriva(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-01-07 20:52:06 Re: stable function called for every row?
Previous Message Pavel Stehule 2009-01-07 20:36:40 Re: stable function called for every row?