Commit 24620fc5 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix creation of ICU comments for keyword variants

It would create the comment referring to the keyword-less parent
locale.  This was broken in ddb5fdc0.
parent c4b841ba
...@@ -775,7 +775,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment