Re: [DOCS] pg_restore documentation - Mailing list pgsql-docs

From David G. Johnston
Subject Re: [DOCS] pg_restore documentation
Date
Msg-id CAKFQuwYcdqsKA26WNFmryDHZqq0sBcDR2YB20EamQ+oySpA95Q@mail.gmail.com
Whole thread Raw
In response to [DOCS] pg_restore documentation  (wkhatch@me.com)
List pgsql-docs
On Monday, June 26, 2017, <wkhatch@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.

pgsql-docs by date:

Previous
From: davecramer@gmail.com
Date:
Subject: [DOCS] Details of how temp_buffers are actually used would be nice
Next
From: Tom Lane
Date:
Subject: Re: [DOCS] pg_restore documentation