Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] Re: [BUGS] BUG #6645: Getting an error wi?==?UTF-8?Q?th “ERROR: PL/Perl function must return reference to hash ?==?UTF-8?Q?or array”?

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: me(at)evancarroll(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] Re: [BUGS] BUG #6645: Getting an error wi?==?UTF-8?Q?th “ERROR: PL/Perl function must return reference to hash ?==?UTF-8?Q?or array”?
Date: 2012-05-16 18:22:04
Message-ID: CAFaPBrSrTZquNwherCHUi7KspcA62hJuHp5iAbs7GgPRt5By_Q@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Wed, May 16, 2012 at 11:53 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alex Hunsaker <badalex(at)gmail(dot)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.

In response to

pgsql-bugs by date

Next:From: steveDate: 2012-05-16 18:49:46
Subject: BUG #6646: PL/Python spiexceptions raised inside Python do notinclude sqlstate in external code
Previous:From: Tom LaneDate: 2012-05-16 17:53:11
Subject: Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group