From: Jeff Davis Date: Tue, 7 May 2024 18:44:47 +0000 (-0700) Subject: Remove obsolete comment. X-Git-Tag: REL_17_BETA1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832c4f657fc5d578dc821e9b5175b6ee341e18a8;p=thirdparty%2Fpostgresql.git Remove obsolete comment. Per suggestion from Peter, the comment was not helpful, so remove it rather than fixing it. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/d9421b21-e759-4b74-a039-c487b469c1f3@eisentraut.org --- diff --git a/src/backend/utils/adt/pg_locale.c b/src/backend/utils/adt/pg_locale.c index 377f5837a05..8d95b5d42ab 100644 --- a/src/backend/utils/adt/pg_locale.c +++ b/src/backend/utils/adt/pg_locale.c @@ -2519,9 +2519,6 @@ pg_strnxfrm_prefix(char *dest, size_t destsize, const char *src, /* * Return required encoding ID for the given locale, or -1 if any encoding is * valid for the locale. - * - * The only supported locale for the builtin provider is "C", and it's - * available for any encoding. */ int builtin_locale_encoding(const char *locale) @@ -2543,9 +2540,6 @@ builtin_locale_encoding(const char *locale) /* * Validate the locale and encoding combination, and return the canonical form * of the locale name. - * - * The only supported locale for the builtin provider is "C", and it's - * available for any encoding. */ const char * builtin_validate_locale(int encoding, const char *locale)