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 E1RULvI-0003gU-N5@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Ensure plperl strings are always correctly UTF8 encoded.  (Tom Lane <tgl@sss.pgh.pa.us>)
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4cdb41b54e432ee75e3c61e990b735b15fa66e81

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: Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Ensure plperl strings are always correctly UTF8 encoded.