1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00
Andrew Dunstan a56c92f938 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 where there is a character with the high bit set AND
the encoding is single-byte.

There have been numerous gripes about this, most recently from Martin
Schäfer.

Backpatch to all live releases.
2013-06-08 10:21:06 -04:00
..
2013-06-06 10:21:44 -04:00
2013-04-01 14:20:36 -04:00
2013-04-01 14:20:36 -04:00
2012-04-23 22:43:09 -04:00