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