Skip to content

Commit 353f111

Browse files
author
Neil Conway
committed
Fix typo in PL/Perl Safe.pm initialization that prevented the proper
sharing of %_SHARED. From Andrew Dunstan.
1 parent 1b41965 commit 353f111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pl/plperl/plperl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.73 2005/05/06 17:24:55 tgl Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.74 2005/05/23 01:57:51 neilc Exp $
3737
*
3838
**********************************************************************/
3939

@@ -226,7 +226,7 @@ plperl_safe_init(void)
226226
"$PLContainer->permit_only(':default');"
227227
"$PLContainer->permit(qw[:base_math !:base_io sort time]);"
228228
"$PLContainer->share(qw[&elog &spi_exec_query &DEBUG &LOG "
229-
"&INFO &NOTICE &WARNING &ERROR %SHARED ]);"
229+
"&INFO &NOTICE &WARNING &ERROR %_SHARED ]);"
230230
"sub ::mksafefunc { return $PLContainer->reval(qq[sub { $_[0] $_[1]}]); }"
231231
;
232232

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy