Search Postgresql Archives

Re: pg_restore must failure on attempt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, September 13, 2011 7:57:44 am artdias90 wrote:
> 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?

First guess is you are using pg_restore to restore a text based dump file.  If 
the database dump is in text format you will need to use psql.
> 
> --


-- 
Adrian Klaver
adrian.klaver@xxxxxxxxx

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux