projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b42e5
)
Fix creation of ICU comments for keyword variants
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 19 Aug 2017 03:02:28 +0000
(23:02 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Sat, 19 Aug 2017 03:04:28 +0000
(23:04 -0400)
It would create the comment referring to the keyword-less parent
locale. This was broken in
ddb5fdc068635d003a0d1c303cb109d1cb3ebeb1
.
src/backend/commands/collationcmds.c
patch
|
blob
|
history
diff --git
a/src/backend/commands/collationcmds.c
b/src/backend/commands/collationcmds.c
index 96a6bc9bf08ba0d54b8a76f86ad59386d17f914b..8572b2dedc485cacc1d052a56c9c5ade2ec8edde 100644
(file)
--- a/
src/backend/commands/collationcmds.c
+++ b/
src/backend/commands/collationcmds.c
@@
-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);