From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Hunsaker <badalex@gmail.com>
Cc: me@evancarroll.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
Date: Wed, 16 May 2012 13:53:11 -0400
Message-ID: <29796.1337190791@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFaPBrTDd65PO7rrJZ8mZPffy-dQoJzvC0zc36QcOo3NfL7rnA@mail.gmail.com>
References: <E1SUhO9-00074q-53@wrigleys.postgresql.org>
<CAFaPBrTDd65PO7rrJZ8mZPffy-dQoJzvC0zc36QcOo3NfL7rnA@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, badalex@gmail.com, me@evancarroll.com
Subject: Re: [BUGS] BUG #6645: Getting an error with “ERROR: PL/Perl function must return reference to hash or array”?
In-Reply-To: <29796.1337190791@sss.pgh.pa.us>
References: <E1SUhO9-00074q-53@wrigleys.postgresql.org> <CAFaPBrTDd65PO7rrJZ8mZPffy-dQoJzvC0zc36QcOo3NfL7rnA@mail.gmail.com> <29796.1337190791@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox