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

Поиск
Список
Период
Сортировка
Искать
От
lbolognini@gmail.com
Тема
Re: pg_restore: [archiver] could not open input file
Дата
Msg-id
1151590736.455840.309520@j72g2000cwa.googlegroups.com
Ответ на
Список
Дерево обсуждения
pg_restore: [archiver] could not open input file lbolognini@gmail.com
Re: pg_restore: [archiver] could not open input file Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_restore: [archiver] could not open input file lbolognini@gmail.com
Re: pg_restore: [archiver] could not open input file Martijn van Oosterhout <kleptog@svana.org>
Tom Lane wrote:
> 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.

Hi Tom,

it doesn't seem even that: I tried to exclude all other parameters and
leaving just:
c:\> pg_restore script.sql

also specifying the absolute path it's still giving an error, though
different:
pg_restore: [archiver] input file does not appear to be a valid archive

Dunno, it's just a regular db dump with function definitions and create
table instructions

Thanks anyway,
Lorenzo

В списке pgsql-general по дате отправления
От: Michael Fuhr
Дата:
Сообщение: Re: finding gps within polygon
От: Jason McManus
Дата:
FAQ