pgsql: Work around perl bug in SvPVutf8().

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Work around perl bug in SvPVutf8().
Дата
Msg-id E1Riql1-0006yO-Vr@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Work around perl bug in SvPVutf8().

Certain things like typeglobs or readonly things like $^V cause
perl's SvPVutf8() to die nastily and crash the backend. To avoid
that bug we make a copy of the object, which will subsequently be
garbage collected.

Back patched to 9.1 where we first started using SvPVutf8().

Per -hackers discussion. Original problem reported by David Wheeler.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2abefd9a92f3c02ad4f6030ac1578bbf314db368

Modified Files
--------------
src/pl/plperl/plperl_helpers.h |    8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Work around perl bug in SvPVutf8().
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Improve ALTER DOMAIN / DROP CONSTRAINT with nonexistent constrai