-
- Downloads
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
Showing
- src/pl/plperl/GNUmakefile 1 addition, 1 deletionsrc/pl/plperl/GNUmakefile
- src/pl/plperl/Util.xs 19 additions, 8 deletionssrc/pl/plperl/Util.xs
- src/pl/plperl/expected/plperl.out 0 additions, 10 deletionssrc/pl/plperl/expected/plperl.out
- src/pl/plperl/expected/plperl_lc.out 33 additions, 0 deletionssrc/pl/plperl/expected/plperl_lc.out
- src/pl/plperl/expected/plperl_lc_1.out 41 additions, 0 deletionssrc/pl/plperl/expected/plperl_lc_1.out
- src/pl/plperl/plperl_helpers.h 45 additions, 16 deletionssrc/pl/plperl/plperl_helpers.h
- src/pl/plperl/sql/plperl.sql 0 additions, 9 deletionssrc/pl/plperl/sql/plperl.sql
- src/pl/plperl/sql/plperl_lc.sql 24 additions, 0 deletionssrc/pl/plperl/sql/plperl_lc.sql
src/pl/plperl/expected/plperl_lc.out
0 → 100644
src/pl/plperl/expected/plperl_lc_1.out
0 → 100644
src/pl/plperl/sql/plperl_lc.sql
0 → 100644
Please register or sign in to comment