| From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Cc: | fcaa(at)tragsa(dot)es |
| Subject: | In unquoted identifiers, only single-byte characters are always folded to lower case |
| Date: | 2018-11-23 11:16:37 |
| Message-ID: | 154297179734.1320.17005240477883952460@wrigleys.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/11/sql-syntax-lexical.html
Description:
Last paragraph on "4.1.1. Identifiers and Key Words" in the documentation
states:
1.- "[...] unquoted names are always folded to lower case"
2.- "If you want to write portable applications you are advised to always
quote a particular name or never quote it"
As said in response to bug #15516 (Identifier not quoted with uppercase
letter (spanish Ñ) doesn't get transformed to lowercase (ñ)) on
pgsql-bugs:
"PG's downcasing transform is only applied to single-byte characters.
So Ñ could be transformed in LATIN1 encoding, but not UTF8."
Given that, that paragraph should clarify this situation by:
1.- replacing "always folded to lower case" with "always folded to lower
case, except for multi-byte characters".
2.- adding another example about this. For instance, "But identifier AÑO
(using multi-byte character Ñ, Unicode U+00D1) is folded to aÑo."
3.- removing "or never quote it".
Regards,
Paco Calvo.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | PG Doc comments form | 2018-11-26 00:47:51 | typo |
| Previous Message | PG Doc comments form | 2018-11-23 01:19:40 | Need for |