mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-25 22:12:45 +03:00
indexer: ANALYSE must be run outside transactions
This commit is contained in:
parent
6b306f30b6
commit
dd301cf5ac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user