On Tue, Jul 12, 2005 at 02:59:37PM -0400, Andrew Dunstan wrote:
> 
> Note that all plperl functions are called in scalar context, and it is 
> always wrong to return a list (as opposed to a listref). In fact, the 
> value received might surprise you even if it worked (it would be the 
> value of the last member of the list).

Yeah, I knew that returning a list was contrary to what was expected, but
I wanted to see what would happen.  I wasn't expecting a core dump :-(
Thanks for the patch.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to