Skip site navigation (1) Skip section navigation (2)

Re: pg_restore on windows with pipe

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Ravi Thati" <gotothati(at)gmail(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_restore on windows with pipe
Date: 2011-03-29 17:41:29
Message-ID: 4D91D379020000250003BED3@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-admin
Ravi Thati <gotothati(at)gmail(dot)com> wrote:
 
> type C:\testdump | pg_restore -Fc [...]
 
> pg_restore: [custom archiver] *could not find block ID 1770* in
> archive -- possibly corrupt archive
> pg_restore: *** aborted because of error
 
Does the type command treat the stream as characters?  (You could
try putting a ^Z end of file character into a small text file and
see how much of it you see if you run type against it.)
 
-Kevin

In response to

Responses

pgsql-admin by date

Next:From: Marc FrommDate: 2011-03-29 17:51:42
Subject: odbc
Previous:From: Steve CrawfordDate: 2011-03-29 17:07:32
Subject: Re: full vacuum of a very large table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group