Re: Pg_dump and password - Mailing list pgsql-admin

From Milen A. Radev
Subject Re: Pg_dump and password
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Pg_dump and password  (Achilleas Mantzios <[email protected]>)
List pgsql-admin
Achilleas Mantzios написа:
> Στις Friday 08 February 2008 10:04:46 ο/η Pleyer, Walter έγραψε:
>> Hi Folks!
>>
>> Is it possible to  call pg_dump not only with -U username but also with the user's password?
> No, you should use the PGPASSWORD env variable.
>> Walter

Actually the recommended method for passing a password to a libpq-linked
programme is by using the .pgpass file
(http://www.postgresql.org/docs/8.3/static/libpq-envars.html and
http://www.postgresql.org/docs/8.3/static/libpq-pgpass.html).


--
Milen A. Radev

pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Pg_dump and password
Next
From: Vishal Arora
Date:
Subject: Re: Pg_dump and password