Re: [HACKERS] SPI nesting in plperl

2009-01-06 Thread Tom Lane
I wrote: > I tried fixing this > http://archives.postgresql.org/pgsql-general/2009-01/msg00030.php > by inserting SPI_push/SPI_pop calls around plperl's use of > InputFunctionCall and OutputFunctionCall ... > I also thought about attacking the problem by having InputFunctionCall > and OutputFuncti

[HACKERS] SPI nesting in plperl

2009-01-04 Thread Tom Lane
I tried fixing this http://archives.postgresql.org/pgsql-general/2009-01/msg00030.php by inserting SPI_push/SPI_pop calls around plperl's use of InputFunctionCall and OutputFunctionCall. Unfortunately it soon turned into a mess, because there are various control paths through that code and some ar