1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-03 01:21:48 +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 ddb5fdc068635d003a0d1c303cb109d1cb3ebeb1.
This commit is contained in:
Peter Eisentraut 2017-08-18 23:02:28 -04:00
parent d4b42e5215
commit 7c84acc455

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