]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tools/special_phrases/sp_importer.py
port code to psycopg3
[nominatim.git] / src / nominatim_db / tools / special_phrases / sp_importer.py
index 4a63ff149507641f1e3fa2597e38c6570d6d93d4..311e37e2010125571449dd4143adb0dd8c16a8a5 100644 (file)
@@ -17,7 +17,7 @@ from typing import Iterable, Tuple, Mapping, Sequence, Optional, Set
 import logging
 import re
 
-from psycopg2.sql import Identifier, SQL
+from psycopg.sql import Identifier, SQL
 
 from ...typing import Protocol
 from ...config import Configuration