From 832c4f657fc5d578dc821e9b5175b6ee341e18a8 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Tue, 7 May 2024 11:44:47 -0700 Subject: [PATCH] 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 --- src/backend/utils/adt/pg_locale.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/backend/utils/adt/pg_locale.c b/src/backend/utils/adt/pg_locale.c index 377f5837a0..8d95b5d42a 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)