From: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
---|---|
To: | Alexey Klyukin <alexk(at)commandprompt(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: arrays as pl/perl input arguments [PATCH] |
Date: | 2011-01-12 18:52:42 |
Message-ID: | C131AD39-1B29-4B35-A89B-92E5F4944119@kineticode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Jan 12, 2011, at 5:14 AM, Alexey Klyukin wrote:
> You mean packing both a string representation and a reference to a single SV * value?
Dunno, I'm not a guts guy.
> I haven't considered that (lack of extensive perlgus-foo) although I think that's an interesting idea. One drawback would be that it would require both conversion to a string format and to a perl reference, performing unnecessary actions during every time arrays are passed to a pl/perl function. If there is a strong dislike of the proposed 'compatibility' GUC option - I think I can change the existing patch to incorporate array string representation into the reference-holding SV quite easily.
Andrew's objections have merit. So perhaps just add this patch to the commit fest as is?
Best,
David
From | Date | Subject | |
---|---|---|---|
Next Message | David E. Wheeler | 2011-01-12 18:54:11 | Re: WIP: Range Types |
Previous Message | Josh Berkus | 2011-01-12 18:27:00 | Re: Compatibility GUC for serializable |