Re: arrays as pl/perl input arguments [PATCH]
От | Alexey Klyukin |
---|---|
Тема | Re: arrays as pl/perl input arguments [PATCH] |
Дата | |
Msg-id | 27BFC63E-2347-40F3-A85B-ABB8AB375819@commandprompt.com обсуждение исходный текст |
Ответ на | Re: arrays as pl/perl input arguments [PATCH] ("David E. Wheeler" <david@kineticode.com>) |
Ответы |
Re: arrays as pl/perl input arguments [PATCH]
|
Список | pgsql-hackers |
On Jan 12, 2011, at 8:52 PM, David E. Wheeler wrote: > 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. Well, neither me (I haven't used much of the guts api there). > >> I haven't considered that (lack of extensive perlgus-foo) although I think that's an interesting idea. One drawback wouldbe that it would require both conversion to a string format and to a perl reference, performing unnecessary actionsduring 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-holdingSV quite easily. > > Andrew's objections have merit. So perhaps just add this patch to the commit fest as is? Already done :) /A -- Alexey Klyukin The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: