pg_restore must failure on attempt

From: artdias90 <artdias90(at)yahoo(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_restore must failure on attempt
Date: 2011-09-13 14:57:44
Message-ID: 1315925864293-4798842.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

As I try to restore my data, I get the warning message:

pg_restore: [archiver] input file does not appear to be a valid archive (too
short?)

Ok, but the job ends with green status, I want it to finish with error. Is
there any way of using $? there?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/pg-restore-must-failure-on-attempt-tp4798842p4798842.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2011-09-13 15:04:31 Re: 8.4.4 locked after power failure
Previous Message Hannes Erven 2011-09-13 14:39:58 Re: Re: Need help with what I think is likely a simple query - for each distinct val, return only one record with the most recent date.