*** pgsql/doc/src/sgml/plperl.sgml 2005/01/17 17:29:49 2.37 --- pgsql/doc/src/sgml/plperl.sgml 2010/05/13 16:44:03 2.37.4.1 *************** *** 1,5 **** --- 1,5 ---- *************** $$ LANGUAGE plperl; *** 458,464 **** If the above function was created by a superuser using the language plperlu, execution would succeed. ! PL/Perl Triggers --- 458,483 ---- If the above function was created by a superuser using the language plperlu, execution would succeed. ! ! ! ! For security reasons, to stop a leak of privileged operations from ! PL/PerlU to PL/Perl, these two languages ! have to run in separate instances of the Perl interpreter. If your ! Perl installation has been appropriately compiled, this is not a problem. ! However, not all installations are compiled with the requisite flags. ! If PostgreSQL detects that this is the case then it will ! not start a second interpreter, but instead create an error. In ! consequence, in such an installation, you cannot use both ! PL/PerlU and PL/Perl in the same backend ! process. The remedy for this is to obtain a Perl installation created ! with the appropriate flags, namely either usemultiplicity or ! both usethreads and useithreads. ! For more details,see the perlembed manual page. ! ! ! ! PL/Perl Triggers