mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Message wording improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user