remove disabling of prepared statements

Fixes for query planning with prepared statements to follow in
subsequent commits.
This commit is contained in:
Sarah Hoffmann
2023-07-08 15:59:15 +02:00
parent c01386b5b4
commit 3e2dd59a94

View File

@@ -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}',