aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pg_locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/pg_locale.c')
-rw-r--r--src/backend/utils/adt/pg_locale.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/utils/adt/pg_locale.c b/src/backend/utils/adt/pg_locale.c
index c8b36f3af2f..c2342e6448b 100644
--- a/src/backend/utils/adt/pg_locale.c
+++ b/src/backend/utils/adt/pg_locale.c
@@ -2862,7 +2862,8 @@ icu_validate_locale(const char *loc_str)
ereport(elevel,
(errmsg("could not get language from ICU locale \"%s\": %s",
loc_str, u_errorName(status)),
- errhint("To disable ICU locale validation, set parameter icu_validation_level to DISABLED.")));
+ errhint("To disable ICU locale validation, set the parameter \"%s\" to \"%s\".",
+ "icu_validation_level", "disabled")));
return;
}
@@ -2890,7 +2891,8 @@ icu_validate_locale(const char *loc_str)
ereport(elevel,
(errmsg("ICU locale \"%s\" has unknown language \"%s\"",
loc_str, lang),
- errhint("To disable ICU locale validation, set parameter icu_validation_level to DISABLED.")));
+ errhint("To disable ICU locale validation, set the parameter \"%s\" to \"%s\".",
+ "icu_validation_level", "disabled")));
/* check that it can be opened */
collator = pg_ucol_open(loc_str);