Обсуждение: pgsql: Workaround for perl problem where evaluating UTF8 regexes can

Поиск
Список
Период
Сортировка

pgsql: Workaround for perl problem where evaluating UTF8 regexes can

От
adunstan@postgresql.org (Andrew Dunstan)
Дата:
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.

Modified Files:
--------------
    pgsql/src/pl/plperl:
        GNUmakefile (r1.31 -> r1.32)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/GNUmakefile?r1=1.31&r2=1.32)
        plperl.c (r1.132 -> r1.133)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.132&r2=1.133)