summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-03-25 10:56:18 +0100
committerGitHub <noreply@github.com>2022-03-25 10:56:18 +0100
commit5859e2fe0cd23228192de7c40b8b1c760efa77d2 (patch)
treedb8efdc5a7a0550ef498d2b8e556b596fab7103f /docs
parentRe-enable test concurrency on Complement (#12283) (diff)
downloadsynapse-5859e2fe0cd23228192de7c40b8b1c760efa77d2.tar.xz
Mention the new behaviour on unsafe database locale in the upgrade notes (#12288)
Co-authored-by: Shay <hillerys@element.io>
Diffstat (limited to 'docs')
-rw-r--r--docs/upgrade.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/upgrade.md b/docs/upgrade.md
index f9ac605e7b..f039710520 100644
--- a/docs/upgrade.md
+++ b/docs/upgrade.md
@@ -99,6 +99,13 @@ experimental_features:
   groups_enabled: false
 ```
 
+## Change in behaviour for PostgreSQL databases with unsafe locale
+
+Synapse now refuses to start when using PostgreSQL with non-`C` values for `COLLATE` and
+`CTYPE` unless the config flag `allow_unsafe_locale`, found in the database section of
+the configuration file, is set to `true`. See the [PostgreSQL documentation](https://matrix-org.github.io/synapse/latest/postgres.html#fixing-incorrect-collate-or-ctype)
+for more information and instructions on how to fix a database with incorrect values.
+
 # Upgrading to v1.55.0
 
 ## `synctl` script has been moved