| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump is ignoring my pgpass file |
| Дата | |
| Msg-id | 5998.1224544267@sss.pgh.pa.us обсуждение |
| Ответ на | pg_dump is ignoring my pgpass file (Luca Ferrari <fluca1978@infinito.it>) |
| Ответы |
Re: pg_dump is ignoring my pgpass file
|
| Список | pgsql-general |
Luca Ferrari <fluca1978@infinito.it> writes:
> I've got my pgpass file:
> backup@backup:~$ cat ~/.pgpass
> 192.168.1.2:5432:raydb:ray:xxxxxxx
> 192.168.1.2:5432:hrpmdb:hrpm:xxxxx
> 192.168.1.2:5432:vatcontrollerdb:vatcontroller:xxxxxx
> ... But if I try to execute the following:
> pg_dump --create --column-inserts -v -f raydb_ott_20_08.sql -U ray -h
> sedeldap raydb
AFAICT the matching of .pgpass entries to a connection attempt is
strictly textual. "sedeldap" != "192.168.1.2" therefore none of
these entries apply. The question is not so much why ray isn't
getting let in, as why anyone else is ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера