diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-04-08 12:00:47 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-04-08 16:42:32 +0100 |
commit | abade34633da2002014a1dd7e4da3f558e610582 (patch) | |
tree | cbbae1709dd8843aeae757ea4a283eaa44bb5bff /synapse/storage | |
parent | unpin olddeps build from py36 (diff) | |
download | synapse-abade34633da2002014a1dd7e4da3f558e610582.tar.xz |
Require py36 and Postgres 9.6
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/engines/postgres.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py index 80a3558aec..d95f88b3e9 100644 --- a/synapse/storage/engines/postgres.py +++ b/synapse/storage/engines/postgres.py @@ -47,8 +47,8 @@ class PostgresEngine(BaseDatabaseEngine): self._version = db_conn.server_version # Are we on a supported PostgreSQL version? - if not allow_outdated_version and self._version < 90500: - raise RuntimeError("Synapse requires PostgreSQL 9.5+ or above.") + if not allow_outdated_version and self._version < 90600: + raise RuntimeError("Synapse requires PostgreSQL 9.6 or above.") with db_conn.cursor() as txn: txn.execute("SHOW SERVER_ENCODING") |