Search Postgresql Archives

Re: pg_dump is ignoring my pgpass file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luca Ferrari <fluca1978@xxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux