summaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgtextproc.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2013-06-08 10:21:06 -0400
committerAndrew Dunstan <andrew@dunslane.net>2013-06-08 10:21:06 -0400
commita56c92f938f81df6b9d59b5bb7edc44008f0e06c (patch)
tree82321539ace33b81bd9683592e1d2d452d82c515 /src/backend/access/spgist/spgtextproc.c
parentcd4fe9514f31cb56a471b1f8b2380f4ff5fc2f91 (diff)
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/access/spgist/spgtextproc.c')
0 files changed, 0 insertions, 0 deletions