summary refs log tree commit diff
path: root/docs/postgres.md
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-05-29 12:04:13 +0100
committerGitHub <noreply@github.com>2024-05-29 12:04:13 +0100
commit967b6948b0d738bc685d433d44e82631fd2ad232 (patch)
tree3c8b8747c2596859593ae9deb7e918f717d590cc /docs/postgres.md
parentIgnore attempts to send to-device messages to bad users (#17240) (diff)
downloadsynapse-967b6948b0d738bc685d433d44e82631fd2ad232.tar.xz
Change allow_unsafe_locale to also apply on new databases (#17238)
We relax this as there are use cases where this is safe, though it is
still highly recommended that people avoid using it.
Diffstat (limited to 'docs/postgres.md')
-rw-r--r--docs/postgres.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/postgres.md b/docs/postgres.md
index ae34f7689b..4b2ba38275 100644
--- a/docs/postgres.md
+++ b/docs/postgres.md
@@ -242,12 +242,11 @@ host    all         all             ::1/128     ident
 
 ### Fixing incorrect `COLLATE` or `CTYPE`
 
-Synapse will refuse to set up a new database if it has the wrong values of
-`COLLATE` and `CTYPE` set. Synapse will also refuse to start an existing database with incorrect values
-of `COLLATE` and `CTYPE` unless the config flag `allow_unsafe_locale`, found in the 
-`database` section of the config, is set to true. Using different locales can cause issues if the locale library is updated from
-underneath the database, or if a different version of the locale is used on any
-replicas.
+Synapse will refuse to start when using a database with incorrect values of
+`COLLATE` and `CTYPE` unless the config flag `allow_unsafe_locale`, found in the
+`database` section of the config, is set to true. Using different locales can
+cause issues if the locale library is updated from underneath the database, or
+if a different version of the locale is used on any replicas.
 
 If you have a database with an unsafe locale, the safest way to fix the issue is to dump the database and recreate it with
 the correct locale parameter (as shown above). It is also possible to change the