By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,710 Members | 1,906 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,710 IT Pros & Developers. It's quick & easy.

Pg_dump : Can I specify the Password ?

P: n/a
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.
Nov 11 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.