Re: Pg_dump and password

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Pg_dump and password
Date: 2008-02-08 08:47:58
Message-ID: foh4vt$u17$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Vishal Arora 2008-02-08 09:01:07 Re: Pg_dump and password
Previous Message Achilleas Mantzios 2008-02-08 08:20:54 Re: Pg_dump and password