pgsql: Force strings passed to and from plperl to be in UTF8 encoding.

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Force strings passed to and from plperl to be in UTF8 encoding.
Дата
Msg-id E1PmD8T-0003YF-Fv@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Force strings passed to and from plperl to be in UTF8 encoding.

String are converted to UTF8 on the way into perl and to the
database encoding on the way back. This avoids a number of
observed anomalies, and ensures Perl a consistent view of the
world.

Some minor code cleanups are also accomplished.

Alex Hunsaker, reviewed by Andy Colson.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=50d89d422f9c68a52a6964e5468e8eb4f90b1d95

Modified Files
--------------
doc/src/sgml/plperl.sgml       |    8 ++
src/pl/plperl/SPI.xs           |   52 ++++++---
src/pl/plperl/Util.xs          |   66 +++++-----
src/pl/plperl/plperl.c         |  260 +++++++++++++++++++++++-----------------
src/pl/plperl/plperl_helpers.h |   69 +++++++++++
5 files changed, 295 insertions(+), 160 deletions(-)


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

Предыдущее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Forget to add mail reference for last commit:
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: remove tags.