Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3NwI-00031r-6C for pgsql-committers@arkaria.postgresql.org; Tue, 03 Apr 2018 15:33:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3NwH-0002RD-4t for pgsql-committers@arkaria.postgresql.org; Tue, 03 Apr 2018 15:33:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3NwG-0002Qu-Vt for pgsql-committers@lists.postgresql.org; Tue, 03 Apr 2018 15:33:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3NwD-0001zW-RA for pgsql-committers@lists.postgresql.org; Tue, 03 Apr 2018 15:33:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w33FXRIe003002; Tue, 3 Apr 2018 11:33:28 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Transforms for jsonb to PL/Perl In-reply-to: <13723.1522768121@sss.pgh.pa.us> References: <13723.1522768121@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 03 Apr 2018 11:08:41 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3000.1522769607.1@sss.pgh.pa.us> Date: Tue, 03 Apr 2018 11:33:27 -0400 Message-ID: <3001.1522769607@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Peter Eisentraut writes: >> Transforms for jsonb to PL/Perl > Buildfarm's not terribly happy with this. Hm, it fails on my own machine too (RHEL6, perl 5.10.1), with the same "cannot transform this Perl type to jsonb" symptoms. A bit of tracing shows that SvTYPE(in) is returning SVt_PVIV in some of the failing cases, and SVt_PVNV in others. regards, tom lane