pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Ravi Thati <gotothati@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: pg_restore on windows with pipe
Date: Tue, 29 Mar 2011 12:41:29 -0500
Message-ID: <4D91D379020000250003BED3@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTi=qKXYe51jOkDGuvhdg_AJUK=CyKBHfi-4E-_ib@mail.gmail.com>
References: <AANLkTi=qKXYe51jOkDGuvhdg_AJUK=CyKBHfi-4E-_ib@mail.gmail.com>

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



view thread (5+ messages)  latest in thread

Message-ID: <4D91D379020000250003BED3@gw.wicourts.gov>
Permalink:  ../4D91D379020000250003BED3@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4D91D379020000250003BED3@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, gotothati@gmail.com
  Subject: Re: pg_restore on windows with pipe
  In-Reply-To: <4D91D379020000250003BED3@gw.wicourts.gov>
  References: <AANLkTi=qKXYe51jOkDGuvhdg_AJUK=CyKBHfi-4E-_ib@mail.gmail.com> <4D91D379020000250003BED3@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox