diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-06-16 10:27:32 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-06-16 10:27:32 -0700 |
commit | a14e75eb0b6a73821e0d66c0d407372ec8376105 (patch) | |
tree | b0fd40e450cdb4f498f911b54a195dcd3ebd1a58 /src/backend/commands/collationcmds.c | |
parent | c0d951262c80f42b3bfe037f940e103a24da84f4 (diff) |
CREATE DATABASE: make LOCALE apply to all collation providers.
For CREATE DATABASE, make LOCALE parameter apply regardless of the
provider used. Also affects initdb and createdb --locale arguments.
Previously, LOCALE (and --locale) only affected the database default
collation when using the libc provider.
Discussion: https://postgr.es/m/1a63084d-221e-4075-619e-6b3e590f673e@enterprisedb.com
Reviewed-by: Peter Eisentraut
Diffstat (limited to 'src/backend/commands/collationcmds.c')
-rw-r--r-- | src/backend/commands/collationcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c index 2969a2bb212..efb8b4d289f 100644 --- a/src/backend/commands/collationcmds.c +++ b/src/backend/commands/collationcmds.c @@ -276,7 +276,7 @@ DefineCollation(ParseState *pstate, List *names, List *parameters, bool if_not_e if (langtag && strcmp(colliculocale, langtag) != 0) { ereport(NOTICE, - (errmsg("using standard form \"%s\" for locale \"%s\"", + (errmsg("using standard form \"%s\" for ICU locale \"%s\"", langtag, colliculocale))); colliculocale = langtag; |