summary refs log tree commit diff
path: root/synapse/storage/engines/postgres.py
diff options
context:
space:
mode:
authorSean Quah <seanq@matrix.org>2022-12-13 13:45:55 +0000
committerSean Quah <seanq@matrix.org>2022-12-13 13:45:55 +0000
commit9d40fc961b734ad9fedfce595d0da32cde7ba6ef (patch)
tree4e9c3bf1aefe963359bb266af0dfe5d3ff64759c /synapse/storage/engines/postgres.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentTidy up CHANGES.md (diff)
downloadsynapse-9d40fc961b734ad9fedfce595d0da32cde7ba6ef.tar.xz
Merge branch 'release-v1.74' into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/engines/postgres.py')
-rw-r--r--synapse/storage/engines/postgres.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py

index 719a517336..f9f562ea45 100644 --- a/synapse/storage/engines/postgres.py +++ b/synapse/storage/engines/postgres.py
@@ -77,7 +77,7 @@ class PostgresEngine( # docs: The number is formed by converting the major, minor, and # revision numbers into two-decimal-digit numbers and appending them # together. For example, version 8.1.5 will be returned as 80105 - self._version = cast(int, db_conn.server_version) + self._version = db_conn.server_version allow_unsafe_locale = self.config.get("allow_unsafe_locale", False) # Are we on a supported PostgreSQL version?