mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Move comment about casts from pg_wchar.
Suggested-by: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/CA+hUKGLXQUYK7Cq5KbLGgTWo7pORs7yhBWO1AEnZt7xTYbLRhg@mail.gmail.com
This commit is contained in:
@@ -128,6 +128,11 @@ char_is_cased_icu(char ch, pg_locale_t locale)
|
||||
(ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z');
|
||||
}
|
||||
|
||||
/*
|
||||
* XXX: many of the functions below rely on casts directly from pg_wchar to
|
||||
* UChar32, which is correct for the UTF-8 encoding, but not in general.
|
||||
*/
|
||||
|
||||
static pg_wchar
|
||||
toupper_icu(pg_wchar wc, pg_locale_t locale)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user