mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
indexer: ANALYSE must be run outside transactions
This commit is contained in:
@@ -159,6 +159,7 @@ class Indexer:
|
||||
ensure that database statistics are updated.
|
||||
"""
|
||||
conn = psycopg2.connect(self.dsn)
|
||||
conn.autocommit = True
|
||||
|
||||
try:
|
||||
self.index_by_rank(0, 4)
|
||||
|
||||
Reference in New Issue
Block a user