Re: Transform for pl/perl - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Transform for pl/perl
Date
Msg-id 20180614195407.5hvov5pao3bvxvvi@alvherre.pgsql
Whole thread Raw
In response to Re: Transform for pl/perl  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2018-Jun-08, Tom Lane wrote:

> I wrote:
> > I'm inclined to think that auto-dereference is indeed a good idea,
> > and am tempted to go make that change to make all this consistent.
> > Comments?
> 
> Here's a draft patch for that.  I ended up only changing
> plperl_sv_to_datum.  There is maybe a case for doing something
> similar in plperl_return_next_internal's fn_retistuple code path,
> so that you can return a reference-to-reference-to-hash there;
> but I was unable to muster much enthusiasm for touching that.

ilmari, did you have time to give Tom's patch a spin?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Portability concerns over pq_sendbyte?
Next
From: Alvaro Herrera
Date:
Subject: Re: Possible bug in logical replication.