Re: pg_restore: [archiver] could not open input file - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_restore: [archiver] could not open input file
Date
Msg-id 20291.1151589969@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore: [archiver] could not open input file  (lbolognini@gmail.com)
Responses Re: pg_restore: [archiver] could not open input file  (lbolognini@gmail.com)
List pgsql-general
lbolognini@gmail.com writes:
> C:\www\foo.com\trunk\db>pg_restore -h localhost -U postgres -W
> mySecretPassword script.sql

I don't think you're supposed to put the password on the command line
like that.  It's probably taking "mySecretPassword" as the file name
to read.

            regards, tom lane

pgsql-general by date:

Previous
From: "Nik"
Date:
Subject: Upgrade problem
Next
From: John DeSoi
Date:
Subject: Re: User privileges in web database applications