summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2025-11-25 05:26:49 +0000
committerPeter Eisentraut2025-11-25 05:26:49 +0000
commitc581c9a7ac2af2c75567013f25125bd294d49ff2 (patch)
tree34f19404adefc293ce7d71d067d982c7451ea827 /src
parented823da12891232a6542168a0a1b7d2d1c5f3e9a (diff)
Remove obsolete comment
This comment should probably have been moved to pg_locale_libc.c in commit 66ac94cdc79 (2024), but upon closer examination it was already completely obsolete then. The first part of the comment has been obsolete since commit 85feb77aa09 (2017), which required that the system provides the required wide-character functions. The second part has been obsolete since commit e9931bfb751 (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
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/formatting.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/backend/utils/adt/formatting.c b/src/backend/utils/adt/formatting.c
index 5f7b3114da7..5bfeda2ffde 100644
--- a/src/backend/utils/adt/formatting.c
+++ b/src/backend/utils/adt/formatting.c
@@ -1617,16 +1617,6 @@ str_numth(char *dest, const char *num, enum TH_Case type)
*****************************************************************************/
/*
- * 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
*
* We pass the number of bytes so we can pass varlena and char*