pgsql: Ensure plperl strings are always correctly UTF8 encoded.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ensure plperl strings are always correctly UTF8 encoded.
Date: 2011-11-26 17:20:38
Message-ID: E1RULva-0003gq-GG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-11-26 17:23:30 Re: Re: [COMMITTERS] pgsql: Force strings passed to and from plperl to be in UTF8 encoding.
Previous Message Andrew Dunstan 2011-11-26 17:20:20 pgsql: Ensure plperl strings are always correctly UTF8 encoded.