aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-08-18 23:02:28 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-08-18 23:02:28 -0400
commit24620fc52bd9d4139748591b6cce7327fd299684 (patch)
tree1e9a8c65447b228b5f52f962acbe86e259295410 /src/backend
parentc4b841ba6aa9252ab9dacd59d317aba8cfa9b31a (diff)
downloadpostgresql-24620fc52bd9d4139748591b6cce7327fd299684.tar.gz
postgresql-24620fc52bd9d4139748591b6cce7327fd299684.zip
Fix creation of ICU comments for keyword variants
It would create the comment referring to the keyword-less parent locale. This was broken in ddb5fdc068635d003a0d1c303cb109d1cb3ebeb1.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/commands/collationcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c
index 96a6bc9bf08..8572b2dedc4 100644
--- a/src/backend/commands/collationcmds.c
+++ b/src/backend/commands/collationcmds.c
@@ -775,7 +775,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
CommandCounterIncrement();
- icucomment = get_icu_locale_comment(name);
+ icucomment = get_icu_locale_comment(localeid);
if (icucomment)
CreateComments(collid, CollationRelationId, 0,
icucomment);