diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-10 15:35:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-10 15:35:46 +0100 |
commit | 3bc687508fa6c4cf82b5ddb22ce6f3674433d0ff (patch) | |
tree | f30e049cd884f7fedee51cfe067ea6090ea07ebe /synapse/storage/engines/postgres.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/postgres_any (diff) | |
download | synapse-3bc687508fa6c4cf82b5ddb22ce6f3674433d0ff.tar.xz |
Remove add_in_list_sql_clause
Diffstat (limited to 'synapse/storage/engines/postgres.py')
-rw-r--r-- | synapse/storage/engines/postgres.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py index 601617b21e..f36600b4bb 100644 --- a/synapse/storage/engines/postgres.py +++ b/synapse/storage/engines/postgres.py @@ -79,6 +79,12 @@ class PostgresEngine(object): """ return True + @property + def supports_using_any_list(self): + """Do we support using `a = ANY(?)` and passing a list + """ + return True + def is_deadlock(self, error): if isinstance(error, self.module.DatabaseError): # https://www.postgresql.org/docs/current/static/errcodes-appendix.html |