Content-Length: 260835 | pFad | http://github.com/postgrespro/postgres/commit/c1f1c1f87fd685981c45da528649c700b6ba0655

70 initdb: emit message when using default ICU locale. · postgrespro/postgres@c1f1c1f · GitHub
Skip to content

Commit c1f1c1f

Browse files
committed
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
1 parent f8ca222 commit c1f1c1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/initdb/initdb.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,10 @@ setlocales(void)
23392339
{
23402340
/* acquire default locale from the environment, if not specified */
23412341
if (icu_locale == NULL)
2342+
{
23422343
icu_locale = default_icu_locale();
2344+
printf(_("Using default ICU locale \"%s\".\n"), icu_locale);
2345+
}
23432346

23442347
/*
23452348
* In supported builds, the ICU locale ID will be checked by the

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c1f1c1f87fd685981c45da528649c700b6ba0655

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy