Fix creation of ICU comments for keyword variants

It would create the comment referring to the keyword-less parent
locale.  This was broken in ddb5fdc068.
This commit is contained in:
Peter Eisentraut 2017-08-18 23:02:28 -04:00
parent c4b841ba6a
commit 24620fc52b
1 changed files with 1 additions and 1 deletions

View File

@ -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);