From: Sarah Hoffmann Date: Sat, 8 Jul 2023 13:59:15 +0000 (+0200) Subject: remove disabling of prepared statements X-Git-Tag: v4.3.0~55^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/3e2dd59a944656d21779ebe28d1f8cafc719bda9?ds=inline;hp=--cc remove disabling of prepared statements Fixes for query planning with prepared statements to follow in subsequent commits. --- 3e2dd59a944656d21779ebe28d1f8cafc719bda9 diff --git a/nominatim/api/core.py b/nominatim/api/core.py index 8d503fa5..2a19d974 100644 --- a/nominatim/api/core.py +++ b/nominatim/api/core.py @@ -57,8 +57,6 @@ class NominatimAPIAsync: query = {k: v for k, v in dsn.items() if k not in ('user', 'password', 'dbname', 'host', 'port')} - if PGCORE_LIB == 'asyncpg': - query['prepared_statement_cache_size'] = '0' dburl = sa.engine.URL.create( f'postgresql+{PGCORE_LIB}',