aboutsummaryrefslogtreecommitdiff
path: root/sqitch/revert
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-08-23 14:40:17 +0100
committerChristopher Baines <mail@cbaines.net>2020-08-23 14:42:32 +0100
commitc7048abe31dc4903343eb3d598363dc23c2a1e46 (patch)
tree1a888696c3bc220b1f813a227ebacaf61b3055f6 /sqitch/revert
parent599c621b88c39e7d7e68912841fd2209bebf2d12 (diff)
downloaddata-service-c7048abe31dc4903343eb3d598363dc23c2a1e46.tar
data-service-c7048abe31dc4903343eb3d598363dc23c2a1e46.tar.gz
Change a package_descriptions index to use MD5 of the description
To avoid the index data being too large. This was first seen in guix commit 1bb4fd64b7bbe5a17eda6f0ca8105283c038f7c8: psql-query-error (fatal-error PGRES_FATAL_ERROR ERROR: index row size 2808 exceeds maximum 2712 for index "package_descriptions_locale_description_key" HINT: Values larger than 1/3 of a buffer page cannot be indexed.
Diffstat (limited to 'sqitch/revert')
-rw-r--r--sqitch/revert/change_package_descriptions_index.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/change_package_descriptions_index.sql b/sqitch/revert/change_package_descriptions_index.sql
new file mode 100644
index 0000000..2861580
--- /dev/null
+++ b/sqitch/revert/change_package_descriptions_index.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:change_package_descriptions_index from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;