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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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