]> git.openstreetmap.org Git - nominatim.git/commit
add function to set up libpq environment
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 23 Feb 2021 13:11:11 +0000 (14:11 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 25 Feb 2021 17:42:54 +0000 (18:42 +0100)
commitaf7226393a45a0ea5b87967c3231392b0e12da64
treee371fbb380b9c839f115549f75871d264174ad9e
parente5206133628c0ab1cacd6c5a04a2a9a973bfc86c
add function to set up libpq environment

Instead of parsing the DSN for each external libpq program we
are going to execute, provide a function that feeds them all
necessary parameters through the environment.

osm2pgsql is the first user.
nominatim/db/connection.py
nominatim/tools/exec_utils.py
test/python/test_db_connection.py