X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..3742fa2929619a4c54a50d3e79e0eeadb4d6ca6f:/src/nominatim_db/tools/admin.py diff --git a/src/nominatim_db/tools/admin.py b/src/nominatim_db/tools/admin.py index cea2ad66..3e502199 100644 --- a/src/nominatim_db/tools/admin.py +++ b/src/nominatim_db/tools/admin.py @@ -10,12 +10,12 @@ Functions for database analysis and maintenance. from typing import Optional, Tuple, Any, cast import logging -from psycopg2.extras import Json, register_hstore +from psycopg2.extras import Json from psycopg2 import DataError from ..typing import DictCursorResult from ..config import Configuration -from ..db.connection import connect, Cursor +from ..db.connection import connect, Cursor, register_hstore from ..errors import UsageError from ..tokenizer import factory as tokenizer_factory from ..data.place_info import PlaceInfo