[COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding

2013-06-08 Thread Andrew Dunstan
Don't downcase non-ascii identifier chars in multi-byte encodings. Long-standing code has called tolower() on identifier character bytes with the high bit set. This is clearly an error and produces junk output when the encoding is multi-byte. This patch therefore restricts this activity to cases w

[COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding

2013-06-08 Thread Andrew Dunstan
Don't downcase non-ascii identifier chars in multi-byte encodings. Long-standing code has called tolower() on identifier character bytes with the high bit set. This is clearly an error and produces junk output when the encoding is multi-byte. This patch therefore restricts this activity to cases w

[COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding

2013-06-08 Thread Andrew Dunstan
Don't downcase non-ascii identifier chars in multi-byte encodings. Long-standing code has called tolower() on identifier character bytes with the high bit set. This is clearly an error and produces junk output when the encoding is multi-byte. This patch therefore restricts this activity to cases w

[COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding

2013-06-08 Thread Andrew Dunstan
Don't downcase non-ascii identifier chars in multi-byte encodings. Long-standing code has called tolower() on identifier character bytes with the high bit set. This is clearly an error and produces junk output when the encoding is multi-byte. This patch therefore restricts this activity to cases w

[COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding

2013-06-08 Thread Andrew Dunstan
Don't downcase non-ascii identifier chars in multi-byte encodings. Long-standing code has called tolower() on identifier character bytes with the high bit set. This is clearly an error and produces junk output when the encoding is multi-byte. This patch therefore restricts this activity to cases w

[COMMITTERS] pgsql: Handle Unicode surrogate pairs correctly when processing JSON.

2013-06-08 Thread Andrew Dunstan
Handle Unicode surrogate pairs correctly when processing JSON. In 9.2, Unicode escape sequences are not analysed at all other than to make sure that they are in the form \u. But in 9.3 many of the new operators and functions try to turn JSON text values into text in the server encoding, and th