I noticed ecpglib still uses PQconnectdb() with a craftily assembled connection string. Here is a patch to use PQconnectdbParams() instead.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных