Re: First feature patch for plperl - draft [PATCH]
От | David E. Wheeler |
---|---|
Тема | Re: First feature patch for plperl - draft [PATCH] |
Дата | |
Msg-id | FA0B1B61-15FE-4A47-BC8A-4E9AC6391C3A@kineticode.com обсуждение исходный текст |
Ответ на | First feature patch for plperl - draft [PATCH] (Tim Bunce <Tim.Bunce@pobox.com>) |
Ответы |
Re: First feature patch for plperl - draft [PATCH]
|
Список | pgsql-hackers |
On Dec 3, 2009, at 3:30 PM, Tim Bunce wrote: > - New GUC plperl.on_perl_init='...perl...' for admin use. > - New GUC plperl.on_trusted_init='...perl...' for plperl user use. > - New GUC plperl.on_untrusted_init='...perl...' for plperlu user use. Since there is no documentation yet, how do these work, exactly? Or should I just wait for the docs? > - END blocks now run at backend exit (fixes bug #5066). > - Stored procedure subs are now given names ($name__$oid). > - More error checking and reporting. > - Warnings no longer have an extra newline in the NOTICE text. > - Various minor optimizations like pre-growing data structures. Nice. > I'm working on adding tests and documentation now, meanwhile I'd very > much appreciate any feedback on the patch. > > Tim. > > p.s. Once this patch is complete I plan to work on patches that: > - add quote_literal and quote_identifier functions in C. I expect you can just use the C versions in PostgreSQL. They're in utils/builtins.h, along with quote_nullable(), which mightalso be useful to add. > - generalize the Safe setup code to enable more control. > - formalize namespace usage, moving things out of main:: Nice. > - add a way to perform inter-sub calling (at least for simple cases). > - possibly rewrite _plperl_to_pg_array in C. Sounds great, Tim. I'm not really qualified to say anything about the C code, but I'd be happy to try it out once there aredocs. Best, David
В списке pgsql-hackers по дате отправления: