Обсуждение: 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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.123.2.1 -> r1.123.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.123.2.1&r2=1.123.2.2)