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 -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql