1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00

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

View File

@ -775,7 +775,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
CommandCounterIncrement(); CommandCounterIncrement();
icucomment = get_icu_locale_comment(name); icucomment = get_icu_locale_comment(localeid);
if (icucomment) if (icucomment)
CreateComments(collid, CollationRelationId, 0, CreateComments(collid, CollationRelationId, 0,
icucomment); icucomment);