I've always done it by:
pg_dump .... [enter]
<blindly type username [enter] password [enter]>
This works for me with the note that the dump file now has my username and
password at the top of it.
--Rainer
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Raul Carvalho
> Sent: Tuesday, April 18, 2000 4:21 AM
> To: Maarten Boekhold
> Cc: [EMAIL PROTECTED]
> Subject: Re: [ADMIN] Maintenance
>
>
>
> Oh, I also tryed some of these:
>
> (echo "user\n"; echo "password\n") | pg_dump.....
> echo "user\npassword\n" | .....
>
>
> It doesn't seem to work, though...
>
> Raul Miguel Pinheiro de Carvalho
> ISR - Instituto de Sistemas e Robotica, Porto
> e-mail: [EMAIL PROTECTED]