mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
Remove obsolete comment
This comment should probably have been moved to pg_locale_libc.c in commit66ac94cdc7(2024), but upon closer examination it was already completely obsolete then. The first part of the comment has been obsolete since commit85feb77aa0(2017), which required that the system provides the required wide-character functions. The second part has been obsolete since commite9931bfb75(2024), which eliminated code paths depending on the global LC_CTYPE setting. Discussion: https://www.postgresql.org/message-id/flat/170308e6-a7a3-4484-87b2-f960bb564afa%40eisentraut.org
This commit is contained in:
@@ -1616,16 +1616,6 @@ str_numth(char *dest, const char *num, enum TH_Case type)
|
|||||||
* upper/lower/initcap functions
|
* upper/lower/initcap functions
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
/*
|
|
||||||
* If the system provides the needed functions for wide-character manipulation
|
|
||||||
* (which are all standardized by C99), then we implement upper/lower/initcap
|
|
||||||
* using wide-character functions, if necessary. Otherwise we use the
|
|
||||||
* traditional <ctype.h> functions, which of course will not work as desired
|
|
||||||
* in multibyte character sets. Note that in either case we are effectively
|
|
||||||
* assuming that the database character encoding matches the encoding implied
|
|
||||||
* by LC_CTYPE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* collation-aware, wide-character-aware lower function
|
* collation-aware, wide-character-aware lower function
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user