From the normalized one, to the one actually contained within glibc. Recent versions of glibc also contain symlinks linking the normalized codeset to the locales with the .UTF-8 ending, but older ones do not. Maybe handling codeset normalisation for queries would be good, but the locale values ending in .UTF-8 are more compatible and allow the code to be simplified. For querying, maybe there should be a locales table which handles different representations.
7 lines
97 B
PL/PgSQL
7 lines
97 B
PL/PgSQL
-- Revert guix-data-service:change_locale_values from pg
|
|
|
|
BEGIN;
|
|
|
|
-- XXX Add DDLs here.
|
|
|
|
COMMIT;
|