postgresql/src/pl
Alvaro Herrera 379607c9e8 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
2012-07-10 15:15:16 -04:00
..
plperl plperl: Skip setting UTF8 flag when in SQL_ASCII encoding 2012-07-10 15:15:16 -04:00
plpgsql Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
plpython Revert part of the previous patch that avoided using PLy_elog(). 2012-07-05 23:40:25 +03:00
tcl Lots of doc corrections. 2012-04-23 22:43:09 -04:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00