On Monday, June 26, 2017, <wkha...@me.com> wrote:
>
> pg_restore drupal_dump.sql -h
> adjh4syhpk555s.cckxxqjsrxhd.us-east-1.rds.amazonaws.com -U someUser -W
> yeahRight -d wm_drupal
>
> I get error:
>
> pg_restore: too many command-line arguments (first is
> &quot;yeahRight&quot;)
>

All -W does is force a prompt.  There is no way to actually supply the
password on the command line, that is what environment variables or pgpass
are for.

David J.

Reply via email to