diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2013-06-08 10:20:54 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2013-06-08 10:20:54 -0400 |
commit | d7cb64aeb5a7e40f4ea75e60bba1d606ca06df7f (patch) | |
tree | 9f218035148c4294cf7b5489731758da88bf37c3 /src/backend/commands/async.c | |
parent | 8af3f277b4f941404ae43251e23d6561f2250ebb (diff) | |
download | postgresql-d7cb64aeb5a7e40f4ea75e60bba1d606ca06df7f.tar.gz postgresql-d7cb64aeb5a7e40f4ea75e60bba1d606ca06df7f.zip |
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.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions