postgres: Allow specifying locale per-machine
- Apr 19, 2022
-
-
Jan Alexander Steffens (heftig) authored
Synapse needs the database to be in C locale. Since v1.56.0, it refuses to start when this is not the case, see [upgrade.md][1]. Replace `en_US.UTF-8` with a variable where present and adapt the `upgrade_pg.sh` script to copy the locale from the old cluster. [1]: https://github.com/matrix-org/synapse/blob/c1482a352acd35055db93f5d0b5de1bec8974fa0/docs/upgrade.md#upgrading-to-v1560
-