aboutsummaryrefslogtreecommitdiff
path: root/sqitch/verify
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-09-26 11:45:57 +0100
committerChristopher Baines <mail@cbaines.net>2020-09-26 11:45:57 +0100
commit53341c70fcb8888b040230e28bbe5deb1b1773ce (patch)
treedcb38c6985150ef137f64136e1b18afcdd346d22 /sqitch/verify
parentaf2e12a9ef529789017caaba8c866b13f9c34067 (diff)
downloaddata-service-53341c70fcb8888b040230e28bbe5deb1b1773ce.tar
data-service-53341c70fcb8888b040230e28bbe5deb1b1773ce.tar.gz
Change the locale codeset representation
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.
Diffstat (limited to 'sqitch/verify')
-rw-r--r--sqitch/verify/change_locale_values.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/change_locale_values.sql b/sqitch/verify/change_locale_values.sql
new file mode 100644
index 0000000..c435a50
--- /dev/null
+++ b/sqitch/verify/change_locale_values.sql
@@ -0,0 +1,7 @@
+-- Verify guix-data-service:change_locale_values on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;