Pg_dump : Can I specify the Password ? - Mailing list pgsql-general

From nadiak@parkerglobal.com (N.K.)
Subject Pg_dump : Can I specify the Password ?
Date
Msg-id 2d4502eb.0308271128.286e3888@posting.google.com
Whole thread Raw
Responses Re: Pg_dump : Can I specify the Password ?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-general
Hello,

I'm doing automated database dump and want to be able to specify
Username and Passowrd in my shell script for pg_dump.

When I do man pg_dump there are no options for password.  There is -U
username to specify username which actually doesn't work for me, I
still get prompted for username, but there is nothing to specify
password.
Is there anyway of going around this?  I need to automate everything
and forego prompting.
Thanks in advance.
N.K.

pgsql-general by date:

Previous
From: "Kuldeep Tanna"
Date:
Subject: Problem compiling tablefunc module in contributions
Next
From: "Andrew L. Gould"
Date:
Subject: Re: Question Join/Subselect