From 5859e2fe0cd23228192de7c40b8b1c760efa77d2 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 25 Mar 2022 10:56:18 +0100 Subject: Mention the new behaviour on unsafe database locale in the upgrade notes (#12288) Co-authored-by: Shay --- docs/upgrade.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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 -- cgit 1.5.1