I wrote: > =?ISO-8859-1?Q?Christian_Schr=F6der?= <cs@xxxxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general