pg_restore must failure on attempt - Mailing list pgsql-general

From artdias90
Subject pg_restore must failure on attempt
Date
Msg-id 1315925864293-4798842.post@n5.nabble.com
Whole thread Raw
Responses Re: pg_restore must failure on attempt
List 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.

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: 8.4.4 locked after power failure
Next
From: Merlin Moncure
Date:
Subject: Re: PostgreSQL 9.1, replica and unlogged tables