pgsql: Workaround for perl problem where evaluating UTF8 regexes can - Mailing list pgsql-committers

From adunstan@postgresql.org (Andrew Dunstan)
Subject pgsql: Workaround for perl problem where evaluating UTF8 regexes can
Date
Msg-id 20071201153949.786787540F0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Workaround for perl problem where evaluating UTF8 regexes can cause
implicit loading of modules, thereby breaking Safe rules.
We compile and call a tiny perl function on trusted interpreter init, after which
the problem does not occur.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.94.2.7 -> r1.94.2.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.94.2.7&r2=1.94.2.8)

pgsql-committers by date:

Previous
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Workaround for perl problem where evaluating UTF8 regexes can
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Suppress compiler warnings in recent plperl patch.