Re: 8.2.4 pg_restore on WinXP and pipes

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <d(dot)wall(at)computer(dot)org>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: 8.2.4 pg_restore on WinXP and pipes
Date: 2007-08-22 00:50:11
Message-ID: 46CB41F2.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>>> On Tue, Aug 21, 2007 at 7:23 PM, in message <46CB81EF(dot)7080403(at)computer(dot)org>,
David Wall <d(dot)wall(at)computer(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David Wall 2007-08-22 01:00:40 Re: 8.2.4 pg_restore on WinXP and pipes
Previous Message Tena Sakai 2007-08-22 00:28:48 tar, but not gnu tar