pgsql: Ensure plperl strings are always correctly UTF8 encoded. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Ensure plperl strings are always correctly UTF8 encoded.
Date
Msg-id E1RULva-0003gq-GG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Ensure plperl strings are always correctly UTF8 encoded.

Amit Khandekar and Alex Hunsaker.

Backpatched to 9.1 where the problem first occurred.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e75d41f0c3e69fefe24a98514b897716d60a83dd

Modified Files
--------------
src/pl/plperl/GNUmakefile         |    2 +-
src/pl/plperl/expected/plperl.out |   10 ++++++++++
src/pl/plperl/plperl_helpers.h    |   13 ++++++++++++-
src/pl/plperl/sql/plperl.sql      |    9 +++++++++
4 files changed, 32 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Ensure plperl strings are always correctly UTF8 encoded.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix overly-aggressive and inconsistent quoting in OS X start scr