Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 86A4E1F9BE73 for ; Wed, 16 May 2012 14:53:28 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SUiPe-0002ZR-76 for pgsql-bugs@postgresql.org; Wed, 16 May 2012 17:53:27 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q4GHrBic029797; Wed, 16 May 2012 13:53:11 -0400 (EDT) To: Alex Hunsaker cc: me@evancarroll.com, pgsql-bugs@postgresql.org Subject: Re: =?UTF-8?Q?Re=3A_=5BBUGS=5D_BUG_=236645=3A_Getting_an_error_with_=E2=80=9CERROR?= =?UTF-8?Q?=3A_PL=2FPerl_function_must_return_reference_to_hash_or_array=E2=80=9D?= =?UTF-8?Q?=3F?= In-reply-to: References: Comments: In-reply-to Alex Hunsaker message dated "Wed, 16 May 2012 11:27:34 -0600" Date: Wed, 16 May 2012 13:53:11 -0400 Message-ID: <29796.1337190791@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/98 X-Sequence-Number: 33069 Alex Hunsaker 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