Re: How to provide password to pg_dump command ? - Mailing list pgsql-sql

From Milen A. Radev
Subject Re: How to provide password to pg_dump command ?
Date
Msg-id ga6lj0$d6v$1@ger.gmane.org
Whole thread Raw
In response to How to provide password to pg_dump command ?  (Emi Lu <emilu@encs.concordia.ca>)
List pgsql-sql
Emi Lu написа:
> Good morning,
> 
> Is there a way that I can pass "pwd" to pg_dump command please?
> 
> 
> I tried to pg_dump in java, but do not know how to pass password.


Recommended method -
http://www.postgresql.org/docs/current/static/libpq-pgpass.html

Not recommended method -
http://www.postgresql.org/docs/current/static/libpq-envars.html (look
for PGPASSWORD).



-- 
Milen A. Radev



pgsql-sql by date:

Previous
From: Emi Lu
Date:
Subject: How to provide password to pg_dump command ?
Next
From: "Ruben Gouveia"
Date:
Subject: Function Syntax involving pipes and ' marks?