Re: [GENERAL] pg_restore: [archiver] could not open input file

2006-06-30 Thread lbolognini
Tom Lane wrote: > [EMAIL PROTECTED] 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.

[GENERAL] pg_restore: [archiver] could not open input file

2006-06-29 Thread lbolognini
Hi all, I'm not able to restore a pg 8.1 database. The dump has been generated with pg_dump. I tried with both absolute and relative path but it doesnt find the file. Any clue? C:\www\foo.com\trunk\db>pg_restore -h localhost -U postgres -W mySecretPassword script.sql pg_restore: [archiver] could