pgpass option is not working with hostaddr parameter

Поиск
Список
Период
Сортировка
От Murtuza Zabuawala
Тема pgpass option is not working with hostaddr parameter
Дата
Msg-id 2074815628.235022.1511244163660@mail.yahoo.com
обсуждение исходный текст
Ответы Re: pgpass option is not working with hostaddr parameter  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Hi,

I'm trying to connect to postgres database server v.10 using latest version of psycopg2(2.7.3.2) + Python3.6.

The issue is that if I use pgpass parameter with host parameter in psycopg2's connect() method I'm able to connect to postgres server properly but with the same pgpass parameter (as well as pgpass file) and if I use the hostaddr parameter instead of host parameter I get error "No pasword supplied"

Is it a bug with psycopg2 or libpq?


Regards,
Murtuza Zabuawala

В списке psycopg по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Migration to PGLister - After
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: pgpass option is not working with hostaddr parameter