Thread: passwords and pg_dump

passwords and pg_dump

From
"jeff seaman"
Date:
Hello,

I am using password authentication for my db connections.  My question is is
there a way to pass pg_dump a password.  It fails because it can't get by
the authentication process.

Thanks in advance for the help.

Jeff Seaman


Re: passwords and pg_dump

From
Philip Warner
Date:
At 10:27 15/08/00 -0400, jeff seaman wrote:
>Hello,
>
>I am using password authentication for my db connections.  My question is is
>there a way to pass pg_dump a password.  It fails because it can't get by
>the authentication process.

Try pg_dump -? or pg_dump -u


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/