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