This commit is contained in:
hera 2018-01-09 18:06:30 +00:00 committed by Matthew Hodgson
parent e365ad329f
commit 174eacc8ba
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ class SearchStore(BackgroundUpdateStore):
event_search_rows.append((event_id, room_id, key, value))
if isinstance(self.database_engine, PostgresEngine):
txn.execute("SET work_mem='256KB'")
txn.execute("SET work_mem='256kB'")
sql = (
"INSERT INTO event_search (event_id, room_id, key, vector)"
" VALUES (?,?,?,to_tsvector('english', ?))"