7.3.2 has .pgpass where you can place the password.
---------------------------------------------------------------------------
Panchal, Ritesh wrote:
> Hi,
> I am trying to automate my backups using pg_dump. However, I am not able to
> pass the password to the command. Has anybody sucessfully done automated
> backup thru scripts?
>
> Thank you for your comments and suggestions.
>
> Ritesh.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073