Re: pg_restore on windows with pipe - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: pg_restore on windows with pipe
Date
Msg-id 4D91D379020000250003BED3@gw.wicourts.gov
Whole thread Raw
In response to pg_restore on windows with pipe  (Ravi Thati <gotothati@gmail.com>)
List pgsql-admin
Ravi Thati <gotothati@gmail.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

pgsql-admin by date:

Previous
From: Steve Crawford
Date:
Subject: Re: full vacuum of a very large table
Next
From: Marc Fromm
Date:
Subject: odbc