| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | "wkhatch(at)me(dot)com" <wkhatch(at)me(dot)com> |
| Cc: | "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org> |
| Subject: | Re: pg_restore documentation |
| Date: | 2017-06-28 18:39:00 |
| Message-ID: | CAKFQuwYcdqsKA26WNFmryDHZqq0sBcDR2YB20EamQ+oySpA95Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Monday, June 26, 2017, <wkhatch(at)me(dot)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
> "yeahRight")
>
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-06-28 18:46:18 | Re: pg_restore documentation |
| Previous Message | davecramer | 2017-06-27 15:43:22 | Details of how temp_buffers are actually used would be nice |