mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
initdb: emit message when using default ICU locale.
Helpful to determine from test logs whether the locale came from the environment or a command-line option. Discussion: https://postgr.es/m/04182066-7655-344a-b8b7-040b1b2490fb%40enterprisedb.com Reviewed-by: Peter Eisentraut
This commit is contained in:
parent
f8ca22295e
commit
c1f1c1f87f
@ -2339,7 +2339,10 @@ setlocales(void)
|
|||||||
{
|
{
|
||||||
/* acquire default locale from the environment, if not specified */
|
/* acquire default locale from the environment, if not specified */
|
||||||
if (icu_locale == NULL)
|
if (icu_locale == NULL)
|
||||||
|
{
|
||||||
icu_locale = default_icu_locale();
|
icu_locale = default_icu_locale();
|
||||||
|
printf(_("Using default ICU locale \"%s\".\n"), icu_locale);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In supported builds, the ICU locale ID will be checked by the
|
* In supported builds, the ICU locale ID will be checked by the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user