The following bug has been logged online: Bug reference: 5571 Logged by: mile Email address: m...@avangardsolutions.com PostgreSQL version: v9.0beta3 Operating system: Linux Description: global hash %_SHARED is not declared as global in the new version Details:
We are using strict pragma that's why we are geting the following error: ERROR: Global symbol %_SHARED requires explicit package name However we should not get that error message because the hash $_SHARED should be declared as global variable. To reproduce this use the following function: create or replace function perl_shared() returns void as $$ use strict; elog(INFO, $_SHARED{'stuff'}); $_SHARED{'stuff'} = '1'; for my $k (keys %_SHARED) { elog(INFO, $k); } $$ language plperl; CREATE LANGUAGE plperl; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs