Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24620fc

Browse files
committed
Fix creation of ICU comments for keyword variants
It would create the comment referring to the keyword-less parent locale. This was broken in ddb5fdc.
1 parent c4b841b commit 24620fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/collationcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ pg_import_system_collations(PG_FUNCTION_ARGS)
775775

776776
CommandCounterIncrement();
777777

778-
icucomment = get_icu_locale_comment(name);
778+
icucomment = get_icu_locale_comment(localeid);
779779
if (icucomment)
780780
CreateComments(collid, CollationRelationId, 0,
781781
icucomment);

0 commit comments

Comments
 (0)