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

From Alex Hunsaker
Subject Re: [BUGS] Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
Date
Msg-id CAFaPBrSrTZquNwherCHUi7KspcA62hJuHp5iAbs7GgPRt5By_Q@mail.gmail.com
Whole thread Raw
In response to Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Wed, May 16, 2012 at 11:53 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Yeah, it worked pre 9.1.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #6642: Spanish collation fault