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
обсуждение исходный текст
Ответ на 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  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
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"
Дата:
Сообщение: Notes on converting from MySQL 5.0.x to PostgreSQL 8.1.4