git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e8e1f96) | patch
Support language tags in older ICU versions (53 and earlier).
2023年3月21日 22:49:18 +0000 (15:49 -0700)
2023年3月21日 23:12:37 +0000 (16:12 -0700)
commit 869650fa86adf74fca7f566c9317f6310f8b400c
Support language tags in older ICU versions (53 and earlier).

By calling uloc_canonicalize() before parsing the attributes, the
existing locale attribute parsing logic works on language tags as
well.

Fix a small memory leak, too.

Discussion: http://postgr.es/m/60da0cecfb512a78b8666b31631a636215d8ce73.camel@j-davis.com
Reviewed-by: Peter Eisentraut
src/backend/commands/collationcmds.c diff | blob | blame | history
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
src/test/regress/expected/collate.icu.utf8.out diff | blob | blame | history
src/test/regress/sql/collate.icu.utf8.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /