diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-03-28 07:55:45 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-03-28 08:24:21 -0700 |
commit | f8ca22295e994338259174e5c66b6b23e5d9b55f (patch) | |
tree | d94b99f913d459efa7ddd4a9ac5b8880eab55578 /src/backend/commands/dbcommands.c | |
parent | 8b3eb0c584beabfc0deaad01aed66cbddb978dcd (diff) | |
download | postgresql-f8ca22295e994338259174e5c66b6b23e5d9b55f.tar.gz postgresql-f8ca22295e994338259174e5c66b6b23e5d9b55f.zip |
initdb: replace check_icu_locale() with default_icu_locale().
The extra checks done in check_icu_locale() are not necessary. An
existing comment already pointed out that the checks would be done
during post-bootstrap initialization, when the locale is opened by the
backend. This was a mistake in commit 27b62377b4.
This commit creates a simpler function default_icu_locale() to just
return the locale of the default collator.
Discussion: https://postgr.es/m/04182066-7655-344a-b8b7-040b1b2490fb%40enterprisedb.com
Reviewed-by: Peter Eisentraut
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions