Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
Date
Msg-id 29796.1337190791@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: [BUGS] Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
List pgsql-bugs
Alex Hunsaker <badalex@gmail.com> writes:
> That being said it seems we failed to take any magic (aka string
> overloads) that a blessed reference might have. Ill see about
> submitting a patch for 9.3 (9.2 just entered beta). Anyone have any
> thoughts on if we should backpatch a fix?

Right offhand I'd be +1 for making that change, but not for backpatching
it; but I'm not a big plperl user.  Would such a case have worked before
9.1?  If it did and we broke it in 9.1, that would be a good reason to
back-patch into 9.1.  If it never worked, then it sounds like a new
feature.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
Next
From: Alex Hunsaker
Date:
Subject: Re: [BUGS] Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?