From 1671f990dd669c0b72e45c7bef0fd579a10676ed Mon Sep 17 00:00:00 2001
From: Jeff Davis
Date: Tue, 28 Mar 2023 16:15:59 -0700
Subject: Validate ICU locales.
For ICU collations, ensure that the locale's language exists in ICU,
and that the locale can be opened.
Basic validation helps avoid minor mistakes and misspellings, which
often fall back to the root locale instead of the intended
locale. It's even more important to avoid such mistakes in ICU
versions 54 and earlier, where the same (misspelled) locale string
could fall back to different locales depending on the environment.
Discussion: https://postgr.es/m/11b1eeb7e7667fdd4178497aeb796c48d26e69b9.camel@j-davis.com
Discussion: https://postgr.es/m/df2efad0cae7c65180df8e5ebb709e5eb4f2a82b.camel@j-davis.com
Reviewed-by: Peter Eisentraut
---
doc/src/sgml/config.sgml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
(limited to 'doc/src')
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 71730cc52fe..bda0da2dc84 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -9804,6 +9804,32 @@ SET XML OPTION { DOCUMENT | CONTENT };
+
+ icu_validation_level (enum)
+
+ icu_validation_level configuration parameter
+
+
+
+
+ When ICU locale validation problems are encountered, controls which
+ message level is
+ used to report the problem. Valid values are
+ DISABLED, DEBUG5,
+ DEBUG4, DEBUG3,
+ DEBUG2, DEBUG1,
+ INFO, NOTICE,
+ WARNING, ERROR, and
+ LOG.
+
+
+ If set to DISABLED, does not report validation
+ problems at all. Otherwise reports problems at the given message
+ level. The default is ERROR.
+
+
+
+
default_text_search_config (string)
--
cgit v1.2.3