Re: 8.2.4 pg_restore on WinXP and pipes

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: 8.2.4 pg_restore on WinXP and pipes
Дата
Msg-id 46CB41F2.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на 8.2.4 pg_restore on WinXP and pipes  (David Wall <d.wall@computer.org>)
Ответы Re: 8.2.4 pg_restore on WinXP and pipes
Список pgsql-admin
>>> On Tue, Aug 21, 2007 at  7:23 PM, in message <46CB81EF.7080403@computer.org>,
David Wall <d.wall@computer.org> wrote:
> I'm using cygwin on WinXP
>
> gunzip -c backup81.gz | pg_restore -v -O -d mydb
>
> This returned an error:  pg_restore: [archiver] did not find magic
> string in file header

Out of curiosity, does it do the same thing for?:

gunzip < backup81.gz | pg_restore -v -O -d mydb

-Kevin




В списке pgsql-admin по дате отправления:

Предыдущее
От: "Tena Sakai"
Дата:
Сообщение: tar, but not gnu tar
Следующее
От: David Wall
Дата:
Сообщение: Re: 8.2.4 pg_restore on WinXP and pipes