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 0eb764e8977..40a68b9b2c2 100644
--- a/src/backend/utils/adt/pg_locale.c
+++ b/src/backend/utils/adt/pg_locale.c
@@ -2870,7 +2870,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;
}
@@ -2898,7 +2899,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);