| From: | Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Cc: | Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com> |
| Subject: | Add on_trusted_init and on_untrusted_init to plperl UPDATED [PATCH] |
| Date: | 2010-01-30 15:49:43 |
| Message-ID: | 20100130154943.GG1141@timac.local |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
This is an update the fourth of the patches to be split out from the
former 'plperl feature patch 1'.
Changes in this patch:
- Adds plperl.on_trusted_init and plperl.on_untrusted_init GUCs
on_trusted_init is PGC_USERSET, on_untrusted_init is PGC_SUSET
SPI functions are not available when the code is run.
Errors are detected and reported as ereport(ERROR, ...)
Corresponding documentation.
- select_perl_context() state management improved
An error during interpreter initialization will leave
the state (interp_state etc) unchanged.
- The utf8fix code has been greatly simplified.
Tim.
| Attachment | Content-Type | Size |
|---|---|---|
| plperl-userinit2.patch | text/x-patch | 14.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-01-30 16:06:02 | Re: development setup and libdir |
| Previous Message | Euler Taveira de Oliveira | 2010-01-30 14:55:01 | Re: PG 9.0 and standard_conforming_strings |