pgsql: plperl: Skip setting UTF8 flag when in SQL_ASCII encoding
В списке pgsql-committers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | pgsql: plperl: Skip setting UTF8 flag when in SQL_ASCII encoding |
| Дата | |
| Msg-id | E1SogUo-0002NF-Jf@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
plperl: Skip setting UTF8 flag when in SQL_ASCII encoding When in SQL_ASCII encoding, strings passed around are not necessarily UTF8-safe. We had already fixed this in some places, but it looks like we missed some. I had to backpatch Peter Eisentraut's a8b92b60 to 9.1 in order for this patch to cherry-pick more cleanly. Patch from Alex Hunsaker, tweaked by Kyotaro HORIGUCHI and myself. Some desultory cleanup and comment addition by me, during patch review. Per bug report from Christoph Berg in 20120209102116.GA14429@msgid.df7cb.de Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/fc661f78c6007103604fc43e98622a71400b769f Modified Files -------------- src/pl/plperl/GNUmakefile | 2 +- src/pl/plperl/Util.xs | 27 ++++++++++---- src/pl/plperl/expected/plperl.out | 10 ----- src/pl/plperl/plperl_helpers.h | 70 +++++++++++++++++++++++++++---------- src/pl/plperl/sql/plperl.sql | 9 ----- 5 files changed, 71 insertions(+), 47 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера