Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc581c9a

Browse files
committed
Remove obsolete comment
This comment should probably have been moved to pg_locale_libc.c incommit66ac94c (2024), but upon closer examination it was alreadycompletely obsolete then.The first part of the comment has been obsolete since commit85feb77 (2017), which required that the system provides therequired wide-character functions.The second part has been obsolete since commite9931bf (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
1 parented823da commitc581c9a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎src/backend/utils/adt/formatting.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,16 +1616,6 @@ str_numth(char *dest, const char *num, enum TH_Case type)
16161616
*upper/lower/initcap functions
16171617
*****************************************************************************/
16181618

1619-
/*
1620-
* If the system provides the needed functions for wide-character manipulation
1621-
* (which are all standardized by C99), then we implement upper/lower/initcap
1622-
* using wide-character functions, if necessary. Otherwise we use the
1623-
* traditional <ctype.h> functions, which of course will not work as desired
1624-
* in multibyte character sets. Note that in either case we are effectively
1625-
* assuming that the database character encoding matches the encoding implied
1626-
* by LC_CTYPE.
1627-
*/
1628-
16291619
/*
16301620
* collation-aware, wide-character-aware lower function
16311621
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp