Re: plperl arginfo - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: plperl arginfo
Date
Msg-id 4CC9ACDC.9090508@dunslane.net
Whole thread Raw
In response to Re: plperl arginfo  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: plperl arginfo
List pgsql-hackers

On 10/28/2010 12:34 PM, Tom Lane wrote:
>
> BTW, maybe we could have the best of both worlds?  Dunno about Perl,
> but in some languages it would be possible to instantiate the hash
> only if it's actually touched.  Passing the data as a hash definitely
> seems to fit with the spirit of things otherwise, so as long as it
> didn't cost cycles when not needed, I'd be in favor of that API.

Maybe, but I think that's getting rather beyond my perlguts-fu. I think 
we'd need to do that via PERL_MAGIC_tied, but it's new territory for me. 
Anyone else want to chime in?

cheers

andrew




pgsql-hackers by date:

Previous
From: Ben
Date:
Subject: contsel and gist
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: plan time of MASSIVE partitioning ...