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
{
/* acquire default locale from the environment, if not specified */
if (icu_locale == NULL)
+ {
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